login
A125446
Number of base 11 circular n-digit numbers with adjacent digits differing by 8 or less.
0
1, 11, 115, 1163, 12199, 128101, 1345957, 14142615, 148604911, 1561482659, 16407457035, 172403230769, 1811546669413, 19035033876467, 200012796160859, 2101657338173563, 22083404921552671, 232043903671421293
OFFSET
0,2
COMMENTS
[Empirical] a(base,n)=a(base-1,n)+F(8) for base>=8.int(n/2)+1 and F(d) is the largest coefficient in (1+x+...+x^(2d))^n
FORMULA
G.f.: (1 - 3*x^2 - 46*x^3 + 3*x^4 + 28*x^5) / ((1 - x - x^2)*(1 - 10*x - 6*x^2 + 7*x^3)) (conjectured). - Colin Barker, Jun 04 2017
PROG
(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-1](($[i]`-$[(i+1)mod N]`>8)+($[(i+1)mod N]`-$[i]`>8))
CROSSREFS
Sequence in context: A251261 A332729 A160465 * A287838 A271477 A076554
KEYWORD
nonn,base
AUTHOR
R. H. Hardin, Dec 28 2006
STATUS
approved