OFFSET
1,1
LINKS
Carlos M. da Fonseca and Anthony G. Shannon, A formal operator involving Fermatian numbers, Notes Num. Theor. Disc. Math. (2024) Vol. 30, No. 3, 491-498.
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = n^5 + n^4 + n^3 + n^2 + n + 1 = (n^6-1)/(n-1).
G.f.: x*(6 + 27*x + 76*x^2 + 6*x^3 + 6*x^4 - x^5)/(1-x)^6. - Colin Barker, May 08 2012
E.g.f.: exp(x)*(1 + 5*x + 26*x^2 + 32*x^3 + 11*x^4+ x^5) - 1. - Stefano Spezia, Oct 03 2024
EXAMPLE
a(3)=364 because 111111 base 3 = 243 + 81 + 27 + 9 + 3 + 1 = 121.
MATHEMATICA
Table[(n^5+n^4+n^3+n^2+n+1), {n, 0, 5!}] (* Vladimir Joseph Stephan Orlovsky, Mar 06 2010 *)
PROG
(PARI) a(n)=(n^6-1)/(n-1) \\ Charles R Greathouse IV, Sep 28 2015
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Henry Bottomley, Mar 23 2000
STATUS
approved