Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162252
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162252 Numbers of the form prime(prime(prime(k))) with a digit sum which is prime. +0
1
5, 11, 179, 331, 599, 919, 1297, 1523, 1787, 2221, 3259, 3637, 3943, 4397, 5381, 6113, 6661, 6823, 8221, 9859, 10631, 11953, 12097, 12301, 12547, 12763, 13469, 14723, 15641, 15823, 17627, 18149, 19577, 20063, 20773, 21529, 23431, 26371, 26489 (list; graph; listen)
OFFSET

1,1

COMMENT

Members of A038580 with a digit sum which is prime.

FORMULA

{A038508(k): A007953(A038508(k)) in A000040, any k}.

EXAMPLE

For k=6, prime(prime(prime(6))) = A038580(6)=179. The digit sum 1+7+9 = 17 is prime, so 179 is in the sequence.

MAPLE

read("transforms") ; A038580 := proc(n) ithprime(ithprime(ithprime(n))) ; end:

for n from 1 to 80 do if isprime(digsum(A038580(n))) then printf("%d, ", A038580(n)) ; fi; od: # R. J. Mathar, Aug 14 2009

PROGRAM

(PARI) sodip2(n, m) = /* m multiple nesting of prime(prime(prime..(n) */

{ local(s=0, a, x, y, j, p);

for(x=1, n, p=prime(x);

for(i=1, m, p=prime(p));

a=eval(Vec(Str(p))); y=sum(j=1, length(a), a[j]); if(isprime(y), print1(p", ")); )

}

CROSSREFS

Sequence in context: A083418 A020453 A036932 this_sequence A006572 A159009 A139187

Adjacent sequences: A162249 A162250 A162251 this_sequence A162253 A162254 A162255

KEYWORD

nonn,base

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Jun 28 2009

EXTENSIONS

Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 14 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research