login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 02:56 EDT 2024. Contains 372431 sequences. (Running on oeis4.)