cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A217875 #14 Apr 03 2023 10:36:13
%S A217875 22229,25391,69557,107563,111409,167953,200843,202309,208609,217271,
%T A217875 221891,236609,238591,250091,250343,274609,290557,355591,373091,
%U A217875 382391,404291,407119,415409,417419,439063,441229,447943,515191,542873,581891,582119,591691,614963
%N A217875 Primes which have the same (base 10) digital sum A007953 as the next smaller and next larger prime.
%H A217875 M. F. Hasler, <a href="/A217875/b217875.txt">Table of n, a(n) for n = 1..733</a> (all terms below 10^7).
%H A217875 C. Caldwell (Ed.), <a href="https://t5k.org/curios/page.php?short=22229">22229 (another Prime Pages' Curiosity)</a>.
%o A217875 (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 A217875 A subsequence of A066540.
%K A217875 nonn,base
%O A217875 1,1
%A A217875 _M. F. Hasler_, Oct 13 2012