login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A125397
Number of base 9 circular n-digit numbers with adjacent digits differing by 6 or less.
0
1, 9, 75, 597, 4999, 41959, 352605, 2963557, 24908879, 209361909, 1759712475, 14790602187, 124316856469, 1044898695889, 8782503978435, 73818042322837, 620449861007519, 5214958537443999, 43832377531943085, 368416605100242957
OFFSET
0,2
COMMENTS
[Empirical] a(base,n)=a(base-1,n)+F(6) for base>=6.int(n/2)+1 and F(d) is the largest coefficient in (1+x+...+x^(2d))^n
FORMULA
G.f.: (1 - 3*x^2 - 34*x^3 + 3*x^4 + 20*x^5) / ((1 + x)*(1 - x - x^2)*(1 - 9*x + 5*x^2)) (conjectured). - Colin Barker, Jun 02 2017
PROG
(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-1](($[i]`-$[(i+1)mod N]`>6)+($[(i+1)mod N]`-$[i]`>6))
CROSSREFS
Sequence in context: A274311 A281804 A210045 * A095249 A190983 A254664
KEYWORD
nonn,base
AUTHOR
R. H. Hardin, Dec 28 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 06:55 EDT 2024. Contains 376067 sequences. (Running on oeis4.)