OFFSET
1,2
COMMENTS
Agrees with A155137 except for omission of zero after a(6) = 15.
FORMULA
a(n) = Abs((n-1)^3-28*(n-1)).
G.f.: 3*x*(9-20*x+9*x^2+32*x^5-30*x^6-8*x^7+10*x^8)/(1-x)^4.
EXAMPLE
MATHEMATICA
Abs[#^3-28#]&/@Range[0, 40] (* Harvey P. Dale, Aug 30 2016 *)
PROG
(Magma) [ Abs((n-1)^3-28*(n-1)): n in [1..41] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Jan 21 2009
STATUS
approved