login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A359340 The primes associated with A339174. 1
2, 3, 7, 43, 3613, 65250781, 38318979202732621, 8810065002836730577256726488782121, 6131762382982476362788562753503495060507087787406616806191258317645081 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(1)=2; for n > 0, a(n+1) is the first prime of the form k*(a(n) - 1)*a(n) + 1. It exists by Dirichlet's theorem on arithmetic progressions.
It is simple to reconstruct a(n) from A339174, which has the more compact representation.
LINKS
PROG
(PARI) p=2; k=1; print1(p, ", "); while(1, runningP=k*(p-1)*p+1; if(ispseudoprime(runningP), k=1; p=runningP; print1(p, ", ") , k++))
CROSSREFS
Sequence in context: A075442 A082993 A071580 * A267507 A344561 A014546
KEYWORD
nonn
AUTHOR
Jeppe Stig Nielsen, Dec 27 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 06:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)