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!)
A344919 a(n) = n^n - n*(n + 1) / 2. 1
1, 0, 1, 21, 246, 3110, 46635, 823515, 16777180, 387420444, 9999999945, 285311670545, 8916100448178, 302875106592162, 11112006825557911, 437893890380859255, 18446744073709551480, 827240261886336764024, 39346408075296537575253, 1978419655660313589123789, 104857599999999999999999790 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = Product_{j=1..n} n - Sum_{j=1..n} j.
a(n) = A000312(n) - A000217(n).
PROG
(Python)
def A344919(n):
return (n**n)-(n*(n+1)//2) # Karl-Heinz Hofmann, Jun 19 2021
CROSSREFS
Sequence in context: A177730 A199300 A302992 * A165095 A165099 A165108
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Jun 19 2021
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 April 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)