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”).

A066262
a(n) = gcd(n, A066260(n)).
2
1, 2, 3, 4, 1, 6, 1, 8, 9, 2, 1, 12, 1, 2, 3, 16, 1, 18, 1, 4, 3, 2, 1, 24, 1, 2, 27, 4, 1, 6, 1, 32, 3, 2, 1, 36, 1, 2, 3, 8, 1, 6, 1, 4, 9, 2, 1, 48, 1, 2, 3, 4, 1, 54, 5, 8, 3, 2, 1, 12, 1, 2, 9, 64, 1, 6, 1, 4, 3, 2, 1, 72, 1, 2, 3, 4, 1, 6, 1, 16, 81, 2, 1, 12, 1, 2, 3, 8, 1, 18, 1, 4, 3, 2, 5, 96
OFFSET
1,2
COMMENTS
Same as A065331 through a(54); A065331(55)=1, but a(55)=5. - Jon E. Schoenfield, Jan 28 2022
LINKS
PROG
(PARI) Composite(n) = { my(k=n + primepi(n) + 1); while (k != n + primepi(k) + 1, k = n + primepi(k) + 1); return(k) }
{ for (n=1, 100, my(f=factor(n), a=1); for (i=1, matsize(f)[1], a*=Composite(primepi(f[i, 1]))^f[i, 2]); a=gcd(n, a); print1(a, ", ") ) } \\ Harry J. Smith, Feb 07 2010
CROSSREFS
Cf. A066260.
Different from A065331.
Sequence in context: A364255 A366283 A065331 * A195989 A174715 A069817
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 10 2001
STATUS
approved