OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 18 is a term because the greatest prime < 18 is 17, the greatest prime < 2*18 = 36 is 31, and 31 < 2 * 17.
MAPLE
select(k -> prevprime(2*k) < 2*prevprime(k), [$3..300]);
PROG
(PARI) isok(k) = precprime(2*k-1) < 2*precprime(k-1); \\ Michel Marcus, Dec 16 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Dec 15 2023
STATUS
approved