login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

LINKS

Table of n, a(n) for n=0..19.

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

Adjacent sequences:  A125394 A125395 A125396 * A125398 A125399 A125400

KEYWORD

nonn,base

AUTHOR

R. H. Hardin, Dec 28 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 4 18:38 EDT 2020. Contains 335448 sequences. (Running on oeis4.)