登录
长度为n的小数点周期的最大素数p(n)。
8

%I#29 2022年4月26日18:41:04

%S 3,11,37101271,13464913733667909151323999901265371653909091,

%电话:290616158823535363222357525791111111111111112796110838689,

%电话:877911111111111111999900011825212130011058313049

%N长度为N的十进制小数周期的最大素数p(N)。

%H<a href=“/A061075/b061075.txt”>n的表格,n=1..352的a(n)</a>

%H Makoto Kamada,<a href=“https://stdkmd.net/nrr/repunit/phin10.htm“>Phi_n(10)的因式分解</a>

%H<a href=“/index/1#1overn”>与1/n的十进制展开式相关的序列的索引项</a>

%F a(n)=A006530(A019328(n))_雷·钱德勒(Ray Chandler),2017年5月10日

%e 1/271=0.0036900369,p(5)=271的周期n=5。

%t a[n_]:=分圆[n,10]//FactorInteger//Last//First;表[a[n],{n,1,26}](*Jean-François Alcover_,2013年8月5日,排在Pari*之后)

%o(PARI)a(n)=我的(p);如果(n<1,0,p=因子(polcyclo(n,10))[,1];第[#p]页)

%Y参见A003020、A005422、A006530、A007138、A019328。

%K nonn,不错,基本

%O 1,1号机组

%A Heiner Muller-Merbach(hmm(AT)sozwi.uni-kl.de),2001年5月29日

%E 2017年4月28日_Ray Chandler的b文件中a(322)的条款

%2022年4月26日,Max Alekseyev的b文件中的E a(323)-a(352)