[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A252170 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Smallest primitive prime factor of 12^n-1.
(history; published version)
#16 by Max Alekseyev at Thu Aug 26 20:16:57 EDT 2021
STATUS

editing

approved

#15 by Max Alekseyev at Thu Aug 26 20:16:46 EDT 2021
NAME

Smallest primitive prime p such that 1/p has duodecimal period factor of 12^n-1.

COMMENTS

a(n) = the Also, smallest primitive prime factor of 12^n-p such that 1/p has duodecimal period n.

a(n) is known up to n = 310.

LINKS

Max Alekseyev, <a href="/A252170/b252170.txt">Table of n, a(n) for n = 1..310</a>

EXTENSIONS

Edited by Max Alekseyev, Aug 26 2021

STATUS

approved

editing

#14 by N. J. A. Sloane at Mon Dec 15 02:16:21 EST 2014
STATUS

proposed

approved

#13 by Michel Marcus at Mon Dec 15 01:33:37 EST 2014
STATUS

editing

proposed

Discussion
Mon Dec 15
02:16
N. J. A. Sloane: I don't think this needs keyword "base"
#12 by Michel Marcus at Mon Dec 15 01:33:17 EST 2014
PROG

(PARI) listap(nn) = {prf = []; for (n=1, nn, vp = (factor(12^n-1)[, 1])~; f = setminus(Set(vp), Set(prf)); prf = concat(prf, f); print1(vecmin(Vec(f)), ", "); ); } \\ Michel Marcus, Dec 15 2014; after A007138

STATUS

proposed

editing

#11 by Michel Marcus at Mon Dec 15 01:20:29 EST 2014
STATUS

editing

proposed

Discussion
Mon Dec 15
01:21
Michel Marcus: add base keyword like A007138 has ?
#10 by Michel Marcus at Mon Dec 15 01:20:06 EST 2014
PROG

(PARI) listap(nn) = {prf = []; for (n=1, nn, vp = (factor(12^n-1)[, 1])~; f = setminus(Set(vp), Set(prf)); prf = concat(prf, f); print1(vecmin(Vec(f)), ", "); ); } \\ Michel Marcus, Dec 15 2014

STATUS

proposed

editing

#9 by Eric Chen at Mon Dec 15 01:13:32 EST 2014
STATUS

editing

proposed

#8 by Eric Chen at Mon Dec 15 01:13:08 EST 2014
EXAMPLE

a(4) = 5 because 1/5 = 0.249724972497... and 5 is the smallest prime with period 4 in base 12.

a(5) = 22621 because 1/22621 = 0.0000100001... and 22621 is the smallest (in fact, the only one) prime with period 5 in base 12.

#7 by Eric Chen at Mon Dec 15 01:10:42 EST 2014
MATHEMATICA

prms={}; Table[f=First/@FactorInteger[12^n-1]; p=Complement[f, prms]; prms=Join[prms, p]; If[p=={}, 1, First[p]], {n, 72}]