OFFSET
0,2
LINKS
G. C. Greubel, 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,120,0,0,0,0,0,0,0,0,0,-2100,0,0,0,0,0,0,0,0,0,10000).
MATHEMATICA
Table[100^(Floor[n/10]) + 2*n*10^(Floor[n/10]), {n, 0, 50}] (* G. C. Greubel, Feb 23 2017 *)
PROG
(PARI) a(n) = (n + 10^(floor(n/10)))^2 - n^2;
(PARI) vector(30, n, n--; 2*n*10^(n\10) + 100^(n\10)) \\ M. F. Hasler, May 02 2008
(SageMath) [(n + 10^(floor(n/10)))^2 - n^2 for n in range(0, 42)] # Stefano Spezia, Apr 16 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alexander R. Povolotsky, Apr 23 2008
EXTENSIONS
Edited by M. F. Hasler and N. J. A. Sloane, May 02 2008
STATUS
approved
