|
Search: id:A107899
|
|
|
| A107899 |
|
Numbers n such that sum of terms of continued fraction for prime(n)/n is prime. |
|
+0 5
|
|
| 1, 2, 4, 5, 7, 8, 13, 14, 16, 17, 20, 22, 23, 24, 31, 32, 37, 41, 44, 47, 49, 50, 63, 68, 69, 71, 73, 78, 81, 82, 84, 86, 89, 93, 98, 101, 109, 111, 119, 121, 126, 130, 131, 132, 135, 138, 142, 143, 145, 150, 164, 169, 175, 176, 189, 190, 197, 201, 202, 205, 211, 214
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Indices of primes occurring in A107900.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Continued Fraction.
|
|
EXAMPLE
|
17 is OK because 17th prime is 59, 59/17 = 3 +1/(2+1/8), terms of continued fraction is {3, 2, 8) and sum of terms is prime number 13.
|
|
MATHEMATICA
|
s={}; Do[If[PrimeQ[Plus@@ContinuedFraction[Prime[n]/n]], s=Append[s, n]], {n, 300}]; A107899=s
|
|
CROSSREFS
|
Cf. A107898, A107899, A107901.
Sequence in context: A114147 A025516 A072920 this_sequence A032924 A005125 A082672
Adjacent sequences: A107896 A107897 A107898 this_sequence A107900 A107901 A107902
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Zak Seidov (zakseidov(AT)yahoo.com), May 26 2005
|
|
|
Search completed in 0.002 seconds
|