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
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