Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070001
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070001 Palindromic integers > 0, whose 'Reverse and Add!' trajectory (presumably) does not lead to another palindrome. +0
1
4994, 8778, 9999, 11811, 19591, 22822, 23532, 23632, 23932, 24542, 24742, 24842, 24942, 26362, 27372, 29792, 29892, 33933, 34543, 34743, 34943, 39493, 44744, 46064, 46164, 46364, 46564, 46964, 47274, 47574, 48284, 48584, 48684, 48884 (list; graph; listen)
OFFSET

1,1

COMMENT

The computation of a trajectory was stopped when in 1000 steps no further palindrome appeared. Subsequence of A002113 and of A023108.

LINKS

Index entries for sequences related to Reverse and Add!

EXAMPLE

The initial terms of the trajectory of the palindromic integer 8778 are 8778, 17556, 83127 and 83127 is the third term in the trajectory of 7059 (see A063057) which (presumably) never leads to a palindrome (see A063048), so 8778 is in the present sequence.

PROGRAM

(PARI) {stop=1000; for(k=1, 50000, m=k; c=0; p=1; while(c<stop&&p==1, n=m; rev=0; while(n>0, d=divrem(n, 10); n=d[1]; rev=10*rev+d[2]); if(m==k&&rev!=m, p=0); if(m>k&&rev==m, p=0); m=m+rev; c++); if(c==stop&&p==1, print1(k, ", ")))}

CROSSREFS

Cf. A002113, A023108, A063057, A063048.

Sequence in context: A037044 A116147 A108837 this_sequence A145540 A031840 A059667

Adjacent sequences: A069998 A069999 A070000 this_sequence A070002 A070003 A070004

KEYWORD

base,nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 06 2002

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research