Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A154275
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A154275 Primes with prime = abs(sum of digits of prime(n)-sum of digits of n) +0
1
5, 7, 11, 13, 19, 31, 37, 43, 47, 61, 67, 73, 89, 103, 107, 113, 137, 151, 157, 167, 173, 193, 211, 223, 227, 233, 239, 269, 271, 277, 281, 311, 353, 373, 379, 401, 409, 419, 421, 431, 433, 439, 443, 449, 467, 487, 503, 509, 571, 599, 601, 631, 641, 647, 653 (list; graph; listen)
OFFSET

1,1

EXAMPLE

If 151=prime(n=36) and abs(1+5+1-(3+6))=abs(7-9)=abs(-2)=2(prime), then 151=a(16). If 157=prime(n=17) and abs(1+5+7-(3+7))=abs(13-10)=abs(3)=3(prime), then 157=a(17), etc.

MAPLE

A007953 := proc(n) add(i, i=convert(n, base, 10)) ; end: A007605 := proc(n) A007953(ithprime(n)) ; end: A090431 := proc(n) A007953(n)-A007605(n) ; end: for n from 1 to 200 do q := abs(A090431(n)) ; if isprime(q) then p := ithprime(n) ; printf("%a, ", p) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 07 2009]

CROSSREFS

Cf. A000040.

Sequence in context: A088664 A023219 A045438 this_sequence A167460 A045439 A093078

Adjacent sequences: A154272 A154273 A154274 this_sequence A154276 A154277 A154278

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jan 06 2009

EXTENSIONS

103, 113 etc. inserted by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 07 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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research