|
| |
|
|
A035524
|
|
Reverse and add (in base 4).
|
|
7
| |
|
|
1, 2, 4, 5, 10, 20, 25, 50, 85, 170, 340, 425, 850, 1385, 3070, 6140, 10225, 15335, 29410, 65135, 129070, 317675, 1280860, 2163725, 3999775, 7999550, 20321515, 81946460, 138412045, 255852575, 511705150, 1300234475, 5242880860
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Reinhard Zumkeller, Table of n, a(n) for n = 0..1000
Index entries for sequences related to Reverse and Add!
|
|
|
FORMULA
| a(n+1) = A055948(a(n)), a(0) = 1. [Reinhard Zumkeller, Oct 10 2011]
|
|
|
MATHEMATICA
| nxt4[n_]:=Module[{idn4=IntegerDigits[n, 4]}, FromDigits[idn4+ Reverse[idn4], 4]]; NestList[nxt4, 1, 40] (* From Harvey P. Dale, May 02 2011 *)
|
|
|
PROG
| (Haskell)
a035524 n = a035524_list !! n
a035524_list = iterate a055948 1
-- Reinhard Zumkeller, Oct 10 2011
|
|
|
CROSSREFS
| Cf. A035522.
Cf. A030103.
Sequence in context: A161706 A128401 A018467 * A018283 A018489 A018530
Adjacent sequences: A035521 A035522 A035523 * A035525 A035526 A035527
|
|
|
KEYWORD
| nonn,easy,nice,base
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
EXTENSIONS
| More terms from Larry Reeves (larryr(AT)acm.org), Sep 22 2000
|
| |
|
|