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!)
A096345 Primes of the form p*q - p - q, where p and q are two successive primes. 4
7, 23, 59, 191, 839, 1439, 1931, 5039, 8447, 11447, 23399, 26891, 36479, 41579, 46619, 57119, 59999, 77279, 110879, 163199, 232307, 323759, 370871, 414731, 470579, 521267, 566999, 606791, 664199, 678971, 776159, 824459, 835379, 879839 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
These primes are not the sum of two squares.
The number of terms less than 10^n: 1, 3, 5, 9, 18, 35, 83, 190, 425, 1105, 2962, 7695, 20187, 54280, 147464, 402660, 1116912, ..., . - Robert G. Wilson v, Apr 09 2008
LINKS
Robert G. Wilson v, Table of n, a(n) for n=1..7700
EXAMPLE
a(3)=59 because 7*11 - 7 - 11=59.
MATHEMATICA
lst = {}; p = q = 2; Do[p = q; q = NextPrime@q; r = p*q - p - q; If[ PrimeQ@r, AppendTo[lst, r]], {n, 2^31 - 1}]; lst {* Robert G. Wilson v, Apr 09 2008 *}
CROSSREFS
Primes in A037165.
Sequence in context: A037165 A126284 A140096 * A211644 A077037 A201110
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Jun 29 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jul 01 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 27 04:12 EDT 2024. Contains 372009 sequences. (Running on oeis4.)