login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117828 Start with 1 and repeatedly reverse the digits and add 4 to get the next term. 78
1, 5, 9, 13, 35, 57, 79, 101, 105, 505, 509, 909, 913, 323, 327, 727, 731, 141, 145, 545, 549, 949, 953, 363, 367, 767, 771, 181, 185, 585, 589, 989, 993, 403, 308, 807, 712, 221, 126, 625, 530, 39, 97, 83, 42, 28, 86, 72, 31, 17, 75, 61, 20, 6, 10, 5, 9, 13, 35, 57, 79, 101, 105, 505, 509, 909, 913, 323, 327, 727, 731 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

LINKS

N. J. A. Sloane, Sequences of RADD type

Index entries for sequences related to linear recurrences with constant coefficients, order 54.

FORMULA

After one step enters a cycle of length 54: see A117827, A117830.

MAPLE

read transforms; t1:=[1]; for n from 1 to 80 do t1:=[op(t1), 4+digrev(t1[n])]; od: (N. J. A. Sloane)

MATHEMATICA

f[n_] := 4 + FromDigits@ Reverse@ IntegerDigits@n; NestList[ f@# &, 1, 57] (* and *)

(* to view the cycle *) NestWhileList[ f@# &, 1, UnsameQ, All] (from Robert G. Wilson v (rgwv(at)rgwv.com), May 09 2006)

CROSSREFS

Cf. A117827, A117829, A117830.

Sequence in context: A024950 A180514 A118837 * A117830 A191219 A061516

Adjacent sequences:  A117825 A117826 A117827 * A117829 A117830 A117831

KEYWORD

nonn,base,easy

AUTHOR

Luc Stevens (lms022(AT)yahoo.com), Apr 06 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:51 EST 2012. Contains 205651 sequences.