OFFSET
1,1
COMMENTS
Sequence A248894 gives terms a(n) such that a(n+1)=a(n)+1.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..162
PROG
(PARI) lista(nn) = {my(c=q=0, r, v=List([3, 5, 11, 17])); forprime(p=19, nn, if(p-2==q, listput(v, q); if((t=v[c++]^(1+1/c))>v[c+3] && t<v[c+4], print1(c, ", "))); q=p); } \\ Jinyuan Wang, Nov 28 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jahangeer Kholdi and Farideh Firoozbakht, Nov 22 2014
STATUS
approved