Nothing Special   »   [go: up one dir, main page]

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

A064229
Smallest prime p associated with A064164(n).
2
61, 71, 83, 23, 59, 61, 661, 23, 71, 20639383, 439429, 521, 79, 811, 1697, 14557, 1080941, 257, 2281, 50989, 67411, 137, 83, 14029308060317546154181, 57554485363, 59, 70552493296669, 59, 694763, 293, 6007711, 12893, 1021, 149, 71, 24324571, 9293, 12318573951317236818169524329
OFFSET
1,1
LINKS
EXAMPLE
8!+1 = 61*661 and 61 is not 1 mod 8, so the first term is 61.
PROG
(PARI) choose(n) = {my(f=factor(n!+1)[, 1]); for(i=1, #f, if(f[i]%n != 1, return(f[i]))); 0; }
lista(nn) = for(k=1, nn, if(choose(k)>1, print1(choose(k), ", "))); \\ Jinyuan Wang, Oct 03 2019
CROSSREFS
Sequence in context: A043213 A043993 A165287 * A180555 A039478 A109549
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 23 2001
EXTENSIONS
More terms from Don Reble, Sep 23 2001
STATUS
approved