login

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”).

A379613
a(n) = n^(n - 1) - 2*(n + 1)^(n - 2), by convention a(0) = 0.
0
0, 0, 0, 1, 14, 193, 2974, 52113, 1034270, 23046721, 571282238, 15617863897, 467291386990, 15198954783153, 534222097472894, 20185726770649633, 816165851488045118, 35167910642711951617, 1609028732603454196606, 77912950297911241532841, 3981118415206568940420878
OFFSET
0,5
LINKS
Steve Butler, Kimberly Hadaway, Victoria Lenius, Preston Martens, and Marshall Moats, Lucky cars and lucky spots in parking functions, arXiv:2412.07873 [math.CO], 2024. See p. 7.
FORMULA
a(n) = A000169(n) - A007334(n+1) for n > 0. In the context of parking functions this is the difference between the main diagonals of A374756 and A379611. See corollary 3.1 and Table 2 in Butler et al.
MAPLE
a := n -> ifelse(n = 0, 0, n^(n-1) - 2*(n+1)^(n-2)): seq(a(n), n = 0..20);
MATHEMATICA
{0}~Join~Table[n^(n - 1) - 2*(n + 1)^(n - 2), {n, 20}] (* Michael De Vlieger, Dec 27 2024 *)
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Peter Luschny, Dec 27 2024
STATUS
approved