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!)
A097938 Primes of the form prime(n)^2 - prime(n+1) - 1. 1
3, 17, 37, 107, 151, 269, 337, 499, 809, 1327, 1637, 1801, 2749, 4967, 7823, 10501, 12641, 22643, 31859, 32569, 38609, 54049, 57829, 62743, 68899, 72089, 93937, 97651, 121447, 124249, 143257, 146299, 157207, 166861, 176809, 185327, 187049 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(4)=107 because 11^2 - 13 -1=107.
MATHEMATICA
Select[Table[(Prime[n]^2-Prime[n+1])-1, {n, 700}], PrimeQ[#]&] (* Vincenzo Librandi, Jul 17 2012 *)
PROG
(PARI) m=85; for(n=1, m, if(isprime(k=prime(n)^2-prime(n+1)-1), print1(k, ", "))) - Klaus Brockhaus, Sep 06 2004
CROSSREFS
Sequence in context: A146813 A106895 A106896 * A354475 A073162 A146186
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Sep 05 2004
EXTENSIONS
More terms from Klaus Brockhaus, Sep 06 2004
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)