OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(8) = 8*R(7)*R(9) = 7*8*9 = 504;
a(15) = 15*R(14)*R(16) = 15*41*61 = 37515;
a(26) = 26*R(25)*R(27) = 26*52*72 = 97344.
a(12) = 12*11*31 = 4092. - Emeric Deutsch, Jun 24 2009
MAPLE
rev := proc (n) local nn: nn := convert(n, base, 10); add(nn[j]*10^(nops(nn)-j), j = 1 .. nops(nn)) end proc: seq(n*rev(n-1)*rev(n+1), n = 1 .. 40); # Emeric Deutsch, Jun 24 2009
MATHEMATICA
Table[n*IntegerReverse[n-1]*IntegerReverse[n+1], {n, 40}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 16 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, May 30 2009
STATUS
approved