login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125455 Number of base 20 circular n-digit numbers with adjacent digits differing by 8 or less. 0
1, 20, 268, 3116, 41308, 559340, 7702750, 106934246, 1491033780, 20837241344, 291544100378, 4081622919042, 57160810856050, 800635091767934, 11215210012054526, 157108281806511326, 2200900956018966740 (list; graph; refs; listen; history; text; internal format)
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

LINKS

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

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: A025939 A278773 A021824 * A019928 A025934 A283517

Adjacent sequences:  A125452 A125453 A125454 * A125456 A125457 A125458

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 April 23 06:08 EDT 2019. Contains 322381 sequences. (Running on oeis4.)