OFFSET
0,4
COMMENTS
All numbers generated by the polynomial x^5-x-1 (see A126426) are congruent to 29 mod 30. The polynomial n^5-n-30 factors as (n-2)(n^4+2n^3+4n^2+8n+15)
FORMULA
a(n) = ((n^5 - n - 1) - 29)/30
G.f.: (-1+5*x-9*x^2+12*x^3-4*x^4+x^5)/(-1+x)^6. - R. J. Mathar, Nov 14 2007
MATHEMATICA
Table[((n^5 - n - 1) - 29)/30, {n, -1, 100}]
CROSSREFS
KEYWORD
sign
AUTHOR
Artur Jasinski, Oct 20 2007, Nov 15 2007
STATUS
approved