OFFSET
1,1
COMMENTS
Prime numbers appearing in A107898.
LINKS
Eric Weisstein's World of Mathematics, Continued Fraction.
EXAMPLE
17 is in this sequence because the 17th prime is 59, 59/17 = 3 + 1/(2 + 1/8), terms of continued fraction are [3; 2, 8], and sum of terms is prime number 13.
MATHEMATICA
bb={}; Do[n=Prime[m]; If[PrimeQ[Plus@@ContinuedFraction[Prime[n]/n]], bb=Append[bb, n]], {m, 300}]; bb
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 26 2005
STATUS
approved