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!)
A217875 Primes which have the same (base 10) digital sum A007953 as the next smaller and next larger prime. 1

%I #14 Apr 03 2023 10:36:13

%S 22229,25391,69557,107563,111409,167953,200843,202309,208609,217271,

%T 221891,236609,238591,250091,250343,274609,290557,355591,373091,

%U 382391,404291,407119,415409,417419,439063,441229,447943,515191,542873,581891,582119,591691,614963

%N Primes which have the same (base 10) digital sum A007953 as the next smaller and next larger prime.

%H M. F. Hasler, <a href="/A217875/b217875.txt">Table of n, a(n) for n = 1..733</a> (all terms below 10^7).

%H C. Caldwell (Ed.), <a href="https://t5k.org/curios/page.php?short=22229">22229 (another Prime Pages' Curiosity)</a>.

%o (PARI) {q=r=0; forprime(p=1,default(primelimit),(p-q)%18==0 & (q-r)%18==0 & A007953(p)==A007953(q) & A007953(p)==A007953(r) & print1(q","); r=q; q=p)}

%Y A subsequence of A066540.

%K nonn,base

%O 1,1

%A _M. F. Hasler_, Oct 13 2012

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 16 08:15 EDT 2024. Contains 371698 sequences. (Running on oeis4.)