Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A085539
a(n) = n^6 - n^5.
6
0, 0, 32, 486, 3072, 12500, 38880, 100842, 229376, 472392, 900000, 1610510, 2737152, 4455516, 6991712, 10631250, 15728640, 22717712, 32122656, 44569782, 60800000, 81682020, 108226272, 141599546, 183140352, 234375000, 297034400, 373071582, 464679936
OFFSET
0,3
COMMENTS
For n>=1, a(n) is equal to the number of functions f:{1,2,3,4,5,6}->{1,2,...,n} such that for a fixed x in {1,2,3,4,5,6} and a fixed y in {1,2,...,n} we have f(x)<>y. - Aleksandar M. Janjic and Milan Janjic, Mar 13 2007
FORMULA
G.f.: -2*x^2*(x^4+41*x^3+171*x^2+131*x+16)/(x-1)^7. - Colin Barker, Nov 06 2012
Sum_{n>=2} 1/a(n) = 5 - Sum_{k=2..5} zeta(k). - Amiram Eldar, Jul 05 2020
MATHEMATICA
f[n_]:=n^6-n^5; f[Range[0, 60]] (* Vladimir Joseph Stephan Orlovsky, Feb 10 2011 *)
Table[n^6 - n^5, {n, 0, 50}] (* Vincenzo Librandi, Aug 15 2016 *)
PROG
(PARI) a(n)=n^6-n^5 \\ Charles R Greathouse IV, Oct 07 2015
(Magma) [n^6-n^5: n in [0..40]]; // Vincenzo Librandi, Aug 15 2016
CROSSREFS
A diagonal of A228273.
Sequence in context: A250560 A203720 A306411 * A091364 A208312 A138412
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 05 2003
STATUS
approved