OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,-1).
FORMULA
a(n) = n * A010879(n).
G.f.: x*(9*x^18 +16*x^17 +21*x^16 +24*x^15 +25*x^14 +24*x^13 +21*x^12 +16*x^11 +9*x^10 +81*x^8 +64*x^7 +49*x^6 +36*x^5 +25*x^4 +16*x^3 +9*x^2 +4*x +1) / ((x -1)^2*(x +1)^2*(x^4 -x^3 +x^2 -x +1)^2*(x^4 +x^3 +x^2 +x +1)^2). - Colin Barker, Feb 07 2014
MATHEMATICA
Table[n NumberDigit[n, 0], {n, 0, 70}] (* Requires Mathematica version 12 or later *) (* Harvey P. Dale, Jul 06 2021 *)
PROG
(PARI) a(n)=n%10*n
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jul 26 2001
STATUS
approved