login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A087715
Table read by rows where i-th row consists of primes P of the form P=j*P(i)# -1 or P=j*P(i)# +1 with 0 < j < P(i+1). Here P(r)# = A002110.
4
3, 3, 5, 5, 7, 11, 13, 17, 19, 23, 29, 31, 59, 61, 89, 149, 151, 179, 181, 211, 419, 421, 631, 839, 1049, 1051, 1259, 1471, 1889, 2099, 2309, 2311, 4621, 9239, 9241, 11549, 11551, 13859, 18481, 20789, 23099, 25409, 25411, 30029, 90089, 120121, 150151
OFFSET
0,1
EXAMPLE
Table begins:
3,3,5,
5,7,11,13,17,19,23,
29,31,59,61,89,149,151,179,181,
211,419,421,631,839,1049,1051,1259,1471,1889,2099,
2309,2311,4621,9239,9241,11549,11551,13859,18481,20789,23099,25409,25411
PROG
(PARI) {for(i=1, 6, p=prod(j=1, i, prime(j)); for(j=1, prime(i+1)-1, c=j*p; if(isprime(c-1), print1(c-1 ", ")); if(isprime(c+1), print1(c+1 ", ")); ); ); }
CROSSREFS
KEYWORD
tabf,nonn
AUTHOR
Pierre CAMI, Sep 29 2003
EXTENSIONS
Edited by Ray Chandler, Sep 30 2003
STATUS
approved