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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125319 Number of base 9 circular n-digit numbers with adjacent digits differing by 3 or less. 0
1, 9, 51, 249, 1387, 7879, 45663, 267367, 1575395, 9316455, 55211811, 327600447, 1945195699, 11554693471, 68652279747, 407952680479, 2424365629955, 14408066169471, 85629681584835, 508919764066431, 3024669695471107 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

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

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: A061178 A097789 A080624 * A080621 A027218 A155617

Adjacent sequences:  A125316 A125317 A125318 * A125320 A125321 A125322

KEYWORD

nonn,base

AUTHOR

R. H. Hardin (rhhardin(AT)att.net), Dec 28 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 13:24 EST 2012. Contains 206031 sequences.