|
| |
|
|
A120941
|
|
The difference k-j where p(k) is the smallest prime greater than p(j)*p(j+1).
|
|
1
|
|
|
|
3, 5, 9, 18, 30, 42, 60, 77, 113, 145, 179, 229, 262, 293, 353, 430, 487, 545, 622, 671, 737, 826, 916, 1052, 1184, 1249, 1310, 1373, 1443, 1654, 1894, 2026, 2131, 2298, 2481, 2602, 2782, 2943, 3107, 3298, 3436, 3651, 3866, 3975, 4083, 4346, 4808, 5144
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,1
|
|
|
COMMENTS
|
Parity of A120941: 1,1,1,0,0,0,0,1,1,1,1,1,0,1,1,0,1,1,0,1,1,0,0,0,0,1,0,1,1,0,0,0,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,0,0,0,....
|
|
|
LINKS
|
Table of n, a(n) for n=1..48.
|
|
|
EXAMPLE
|
The product of the 4th prime number, 7 and the 5th prime, 11, is 77; the smallest prime greater than this is the 22nd prime, 79; therefore the 4th term of the sequence is 22-4 = 18.
|
|
|
MATHEMATICA
|
Table[PrimePi[Prime[n]Prime[n + 1]] - n + 1, {n, 48}] (Zak Seidov, Aug 21 2006)
|
|
|
CROSSREFS
|
Cf. A074928.
Sequence in context: A118330 A062221 A074861 * A108227 A028411 A018098
Adjacent sequences: A120938 A120939 A120940 * A120942 A120943 A120944
|
|
|
KEYWORD
|
nonn
|
|
|
AUTHOR
|
Axel Harvey, Aug 18 2006
|
|
|
EXTENSIONS
|
More terms from Robert G. Wilson v, Aug 21 2006
|
|
|
STATUS
|
approved
|
| |
|
|