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!)
A157935 Primes of the form m^2+1 such that m^2-7 = prevprime(m^2) (= A007917(m^2)). 2
2917, 4357, 8101, 24337, 57601, 72901, 93637, 224677, 324901, 331777, 404497, 562501, 608401, 1166401, 1742401, 1822501, 4137157, 4639717, 5788837, 7290001, 7617601, 10265617, 10497601, 10929637, 12110401, 12362257, 14107537, 14243077 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A subsequence of A005574. The values for m are listed in A157934, the next lower prime in A157183.
LINKS
FORMULA
a(n) = A157934(n)^2+1 = A157183(n)+8
MATHEMATICA
Select[Range[4000]^2+1, PrimeQ[#]&&NextPrime[#, -1]==#-8&] (* Harvey P. Dale, Jun 14 2020 *)
PROG
(PARI) forstep(m=2, 9999, 2, isprime(m^2+1) & precprime(m^2)==m^2-7 & print1(m^2+1, ", "))
CROSSREFS
Sequence in context: A209046 A209018 A186562 * A081634 A358879 A054830
KEYWORD
nonn
AUTHOR
M. F. Hasler, Mar 18 2009
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:07 EDT 2024. Contains 371918 sequences. (Running on oeis4.)