login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

%I #3 Mar 30 2012 18:52:34

%S 1,5,10,26,29,125,290,1090,1682,2794,3482,5942,7922,8189,10202,17162,

%T 19526,27890,29930,30928,85850,88724,131069,146690,292538,458330,

%U 491402,524285,552050,579122,597530,683930,703922,732512,734450,797158,829922

%N 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.

%e For p = 2 and k = 1, q = 2^0+2^1 = 1+2 = 3 is prime, hence 3-2 = 1 is in the sequence.

%e 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.

%Y Cf. A000040 (prime numbers).

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Oct 13 2009

%E Edited and extended by _Klaus Brockhaus_, Oct 16 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:55 EDT 2024. Contains 371958 sequences. (Running on oeis4.)