Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A047791
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A047791 Numbers n such that n plus digit sum of n (A007953) equals a prime. +0
15
1, 10, 11, 13, 14, 16, 19, 32, 34, 35, 37, 52, 53, 56, 58, 59, 71, 73, 76, 91, 92, 94, 95, 97, 100, 101, 103, 104, 106, 122, 124, 127, 128, 142, 143, 146, 149, 160, 163, 166, 167, 181, 182, 184, 185, 215, 217, 218, 232, 233, 238, 250, 253, 256, 257, 271, 272 (list; graph; listen)
OFFSET

1,2

COMMENT

Complement of A107743.

EXAMPLE

Digit sum of 13 = 1 + 3 = 4 -> 13 + 4 = 17 is prime.

MAPLE

P:=proc(n) local i, j, k, w; for i from 1 by 1 to n do w:=0; k:=i; j:=k; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; if isprime(j+w) then print(j); fi; od; end: P(1000); [From Paolo P. Lava (ppl(AT)spl.at), Mar 02 2009]

CROSSREFS

Cf. A006378, A107740.

Sequence in context: A167178 A077677 A107741 this_sequence A093679 A153194 A106439

Adjacent sequences: A047788 A047789 A047790 this_sequence A047792 A047793 A047794

KEYWORD

base,easy,nonn

AUTHOR

G. L. Honaker, Jr. (honak3r(AT)gmail.com)

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Nov 16 2000

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 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research