A135480 Generator for the finite sequence A038178.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 81, 512, 2401, 5748, 10553, 16816, 24537, 33716, 44353, 56448, 139982, 170003, 202940, 238793, 277562, 319247, 363848, 411365, 461798, 515147, 857103
Offset: 0
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
Crossrefs
Cf. A038178.
Programs
-
Mathematica
Table[1/10*(n - (Mod[n, 10]))*(729*n^2 - 14879*n + 75971) + (Mod[n, 10]), {n, 0, 25}] (* G. C. Greubel, Oct 14 2016 *)
Formula
a(n) = 1/10*(n-(n mod 10))*(729*n^2-14879*n+75971)+ (n mod 10).
Comments