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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125316 Number of base 6 circular n-digit numbers with adjacent digits differing by 3 or less. 1
1, 6, 30, 138, 694, 3526, 18012, 92140, 471566, 2413794, 12356010, 63250314, 323779348, 1657433992, 8484446994, 43432107538, 222330112286, 1138113767838, 5826034724844, 29823627148788, 152667942902854 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

[Empirical] a(base,n)=a(base-1,n)+A025012(n+1) for base>=3.int(n/2)+1.

LINKS

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

FORMULA

Conjectures from Colin Barker, Jun 04 2017: (Start)

G.f.: (1 - 3*x^2 - 16*x^3 + 3*x^4 + 8*x^5) / ((1 - x - x^2)*(1 - 5*x - x^2 + 2*x^3)).

a(n) = 6*a(n-1) - 3*a(n-2) - 8*a(n-3) + a(n-4) + 2*a(n-5) for n>5.

(End)

PROG

(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-1](($[i]`-$[(i+1)mod N]`>3)+($[(i+1)mod N]`-$[i]`>3))

CROSSREFS

Sequence in context: A255463 A192208 A001334 * A092439 A082149 A002457

Adjacent sequences:  A125313 A125314 A125315 * A125317 A125318 A125319

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 May 20 03:10 EDT 2019. Contains 323412 sequences. (Running on oeis4.)