|
Search: id:A166388
|
|
|
| A166388 |
|
Numbers of the form q-p, where p and q are prime and q = p^0+p^1+p^2+..+p^k for some k. |
|
+0 1
|
|
| 1, 5, 10, 26, 29, 125, 290, 1090, 1682, 2794, 3482, 5942, 7922, 8189, 10202, 17162, 19526, 27890, 29930, 30928, 85850, 88724, 131069, 146690, 292538, 458330, 491402, 524285, 552050, 579122, 597530, 683930, 703922, 732512, 734450, 797158, 829922
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
For p = 2 and k = 1, q = 2^0+2^1 = 1+2 = 3 is prime, hence 3-2 = 1 is in the sequence.
For p = 3 and k = 6, q = 3^0+3^1+3^2+3^3+3^4+3^5+3^6 = 1+3+9+27+81+243+729 = 1093 is prime, hence 1093-3 = 1090 is in the sequence.
|
|
CROSSREFS
|
Cf. A000040 (prime numbers).
Sequence in context: A106729 A038252 A083010 this_sequence A066872 A063478 A025486
Adjacent sequences: A166385 A166386 A166387 this_sequence A166389 A166390 A166391
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Oct 13 2009
|
|
EXTENSIONS
|
Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 16 2009
|
|
|
Search completed in 0.002 seconds
|