The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A106812 Smallest prime of the set of seven consecutive primes whose sum of digits is a set of seven distinct primes. 0
3511973, 5919931, 5919937, 20309959, 20309999, 21029951, 24129977, 66109973, 110003981, 152099951, 208334953, 235639951, 290111959, 316229981, 361344943, 387233993, 397629959, 418589981, 419804933, 444941957, 519014957, 522908993 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=3511973 is a term because sum of digits of seven consecutive primes i.e. (3511973, 3511993, 3511999, 3512011, 3512051, 3512053, 3512057), whose sum of digits (i.e. 29, 31, 37, 13, 17, 19, 23)is a set of seven distinct primes.
PROG
(PARI) dsum(n)=my(s); while(n, s+=n%10; n\=10); s
v=vectorsmall(10^6); i=0; forprime(p=2, prime(#v), v[i++]=dsum(p); if(!isprime(v[i]), v[i]=0))
for(i=1, #v-6, if(v[i]&&v[i+1]&&v[i+2]&&v[i+3]&&v[i+4]&&v[i+5]&&v[i+6]&&#vecsort(vector(7, j, v[i+j-1]), , 8)==7, print1(prime(i)", ")))
\\ Charles R Greathouse IV, Oct 26 2011
CROSSREFS
Sequence in context: A205766 A183790 A256770 * A106811 A258687 A187314
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, May 18 2005
STATUS
approved

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 June 18 15:47 EDT 2024. Contains 373481 sequences. (Running on oeis4.)