login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A001128 Reverse digits of previous term and multiply by previous term. 1
2, 4, 16, 976, 662704, 269896807264, 124883600543123110859968, 108643488775144622666209173128243503963147630528 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

John Cerkan, Table of n, a(n) for n = 1..12

FORMULA

a(n) = A061205(a(n-1)) for n>1, with a(1) = 2. - Michel Marcus, Mar 18 2017

MATHEMATICA

a[n_]:=If[n<2, 2, a[n - 1] * FromDigits[Reverse[IntegerDigits[a[n - 1]]]]]; Table[a[n], {n, 10}] (* Indranil Ghosh, Mar 18 2017 *)

PROG

(PARI) a(n) = if (n==1, 2, prev = a(n-1); prev*fromdigits(Vecrev(digits(prev)))); \\ Michel Marcus, Mar 18 2017

(Python) def a(n): return 2 if n<2 else a(n - 1) * int(str(a(n - 1))[::-1]) # Indranil Ghosh, Mar 18 2017

CROSSREFS

Cf. A061205.

Sequence in context: A114641 A152690 A194457 * A280890 A124436 A014221

Adjacent sequences:  A001125 A001126 A001127 * A001129 A001130 A001131

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 10:54 EDT 2021. Contains 343821 sequences. (Running on oeis4.)