login
A305318
Numbers k such that A071866(k)=3.
1
2, 3, 5, 6, 7, 10, 11, 12, 13, 17, 18, 20, 21, 24, 25, 26, 28, 29, 30, 33, 35, 36, 37, 41, 42, 43, 44, 45, 49, 50, 52, 53, 57, 58, 59, 60, 64, 65, 67, 69, 70, 73, 74, 78, 79, 81, 82, 83, 84, 87, 88, 89, 98, 99, 100, 104, 105, 109, 110, 111, 112, 113, 115, 116, 120, 121, 122, 125, 129, 130, 133
OFFSET
1,1
COMMENTS
All terms are in A066940. The first member of A066940 not in this sequence is 61.
LINKS
FORMULA
a(n) = A000720(A275697(n+1)). - Robert Israel, May 31 2018
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
Sequence in context: A024899 A114518 A066940 * A100118 A295389 A028781
KEYWORD
nonn
AUTHOR
Robert Israel, May 29 2018
STATUS
approved