OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
select(n -> nops(convert(ithprime(n+1)/ithprime(n), confrac))=3, [$1..1000]);
PROG
(PARI) isok(n) = length(contfrac(prime(n+1)/prime(n))) == 3; \\ Michel Marcus, May 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, May 29 2018
STATUS
approved