Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135739
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135739 Numbers n such that n+reverse(n) has only odd decimal digits (n not multiple of 10). +0
1
12, 14, 16, 18, 21, 23, 25, 27, 32, 34, 36, 41, 43, 45, 52, 54, 61, 63, 72, 81, 209, 219, 229, 239, 249, 308, 318, 328, 338, 348, 407, 409, 417, 419, 427, 429, 437, 439, 447, 449, 506, 508, 516, 518, 526, 528, 536, 538, 546, 548, 605, 607, 609, 615, 617, 619 (list; graph; listen)
OFFSET

1,1

COMMENT

Obviously n is in the sequence iff reverse(n) is in the sequence.

LINKS

Project Euler, Problem 145

EXAMPLE

409+904=1313 has only odd digits, so 409 and 904 are in the sequence.

PROGRAM

(PARI) reverse(n, m)=n=[n]; while(n=divrem(n[1], 10), m=10*m+n[2]); m odd=Vec("13579"); for(i=1, 999, i%10&!setminus(Set(Vec(Str(i+reverse(i)))), odd)&print1(i", "))

CROSSREFS

Sequence in context: A043651 A043701 A080693 this_sequence A096923 A135770 A091989

Adjacent sequences: A135736 A135737 A135738 this_sequence A135740 A135741 A135742

KEYWORD

base,easy,nonn

AUTHOR

M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Dec 01 2007, Dec 05 2007

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research