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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124952 Number of base 24 circular n-digit numbers with adjacent digits differing by 2 or less. 0
1, 24, 114, 426, 1862, 8194, 36996, 169088, 781022, 3635922, 17034404, 80221088, 379426784, 1801177896, 8577255542, 40956427846, 196033612206, 940269589202, 4518417570036, 21749390784152, 104848429735272, 506137481003552 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

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

LINKS

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

PROG

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

CROSSREFS

Sequence in context: A064595 A064591 A228433 * A126411 A211580 A211594

Adjacent sequences:  A124949 A124950 A124951 * A124953 A124954 A124955

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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 30 09:10 EDT 2022. Contains 354920 sequences. (Running on oeis4.)