Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124701
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124701 Number of base 8 circular n-digit numbers with adjacent digits differing by 1 or less. +0
1
1, 8, 22, 50, 130, 338, 904, 2444, 6682, 18410, 51052, 142304, 398380, 1119308, 3154558, 8914010, 25246282, 71644298, 203665054, 579841286, 1653025900, 4718011460, 13479908926, 38548802570, 110327691316, 315985475588 (list; graph; listen)
OFFSET

0,2

COMMENT

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

PROGRAM

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

CROSSREFS

Sequence in context: A145067 A112684 A048489 this_sequence A002968 A058404 A126362

Adjacent sequences: A124698 A124699 A124700 this_sequence A124702 A124703 A124704

KEYWORD

nonn

AUTHOR

Ron Hardin (rhhardin(AT)att.net), 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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research