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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034874 a(n) = n times the reverse of a(n-1). 2
1, 2, 6, 24, 210, 72, 189, 7848, 76383, 383670, 840213, 3744576, 87808149, 1318532292, 43835371965, 910677661344, 7533835192323, 58192476900426, 1185618381154515, 103090236763316220, 474880720273896321 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

A004086(a(n)) = A096138(n). [Reinhard Zumkeller, Jan 02 2012]

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..250

Index entries for sequences related to factorial numbers

MAPLE

digrev:= proc(x) local L, j;

   L:= convert(x, base, 10);

   add(L[-i]*10^(i-1), i=1..nops(L));

end proc:

A[1]:= 1:

for n from 2 to 30 do A[n]:= n*digrev(A[n-1]) od:

seq(A[n], n=1..30); # Robert Israel, Feb 01 2015

MATHEMATICA

nxt[{n_, a_}]:={n+1, IntegerReverse[a](n+1)}; Transpose[NestList[nxt, {1, 1}, 20]] [[2]] (* The program uses the IntegerReverse function from Mathematica version 10 *) (* Harvey P. Dale, Apr 21 2016 *)

PROG

(Haskell)

a034874 n = a034874_list !! (n-1)

a034874_list = 1 : f 2 1 where

   f x y = z : f (x + 1) z where z = (x * a004086 y)

-- Reinhard Zumkeller, Jan 02 2012

(Python)

A034874_list, a = [1], 1

for n in range(2, 100):

....a = n*int(str(a)[::-1])

....A034874_list.append(a) # Chai Wah Wu, Feb 01 2015

CROSSREFS

Cf. A000142.

Sequence in context: A304996 A012711 A073973 * A052699 A074351 A052597

Adjacent sequences:  A034871 A034872 A034873 * A034875 A034876 A034877

KEYWORD

easy,nonn,base,nice

AUTHOR

Erich Friedman

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 15:30 EDT 2018. Contains 316236 sequences. (Running on oeis4.)