Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A155913
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A155913 Primes such that sum of digits - final digit = prime. +0
1
23, 29, 31, 37, 53, 59, 71, 73, 79, 113, 127, 149, 163, 167, 211, 233, 239, 251, 257, 293, 307, 347, 349, 383, 389, 419, 431, 433, 439, 479, 491, 499, 503, 509, 521, 523, 563, 569, 587, 613, 617, 619, 653, 659, 673, 677, 701, 709, 743, 761, 769, 839, 853, 857 (list; graph; listen)
OFFSET

1,1

EXAMPLE

113 is in sequence because it is prime and its sum of digits (1+1+3=5) - final digit(3) is prime(5-3=2).

MAPLE

A007953 := proc(n) add(d, d=convert(n, base, 10)) ; end: A010879 := proc(n) n mod 10 ; end: for i from 1 to 300 do p := ithprime(i) ; if isprime(A007953(p)-A010879(p)) then printf("%d, ", p) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 31 2009]

CROSSREFS

Cf. A000040.

Sequence in context: A049483 A112681 A078500 this_sequence A153631 A082943 A061754

Adjacent sequences: A155910 A155911 A155912 this_sequence A155914 A155915 A155916

KEYWORD

nonn,base

AUTHOR

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

EXTENSIONS

Corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 31 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 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research