A124699 Number of base 6 circular n-digit numbers with adjacent digits differing by 1 or less.
1, 6, 16, 36, 92, 236, 622, 1658, 4468, 12132, 33146, 90998, 250802, 693426, 1922118, 5339006, 14854932, 41387764, 115438672, 322267784, 900314242, 2516648618, 7038066876, 19690060024, 55102545322, 154241612986
Offset: 0
Links
Formula
Conjectures from Colin Barker, Jun 04 2017: (Start)
G.f.: (1 - 10*x^2 + 27*x^4 - 8*x^5 - 5*x^6) / ((1 - 2*x - x^2 + x^3)*(1 - 4*x + 3*x^2 + x^3)).
a(n) = 6*a(n-1) - 10*a(n-2) + 9*a(n-4) - 2*a(n-5) - a(n-6) for n>6.
(End)
Comments