Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125397
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125397 Number of base 9 circular n-digit numbers with adjacent digits differing by 6 or less. +0
1
1, 9, 75, 597, 4999, 41959, 352605, 2963557, 24908879, 209361909, 1759712475, 14790602187, 124316856469, 1044898695889, 8782503978435, 73818042322837, 620449861007519, 5214958537443999, 43832377531943085, 368416605100242957 (list; graph; listen)
OFFSET

0,2

COMMENT

[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

PROGRAM

(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

Adjacent sequences: A125394 A125395 A125396 this_sequence A125398 A125399 A125400

Sequence in context: A001716 A028991 A102094 this_sequence A095249 A136659 A126965

KEYWORD

nonn

AUTHOR

Ron Hardin (rhh(AT)cadence.com), Dec 28 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research