a(n) = n! + Sum_{k=1..n-1} (n-k)*k! = n! + A014145(n-1); for n >= 2, number of m such that any two consecutive digits of the base-n expansion of m differ by 1 after arranging the digits in decreasing order.
A370369
a(n) = n! + Sum_{k=1..n-1} (n-k)*k! = n! + A014145(n-1); for n >= 2, number of m such that any two consecutive digits of the base-n expansion of m differ by 1 after arranging the digits in decreasing order.
Terms
- a(0) =1a(1) =3a(2) =10a(3) =37a(4) =166a(5) =919a(6) =6112a(7) =47305a(8) =416098a(9) =4091131a(10) =44417044a(11) =527456557a(12) =6798432070a(13) =94499679583
External references
- oeis: A370369