Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125353
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125353 Number of base 16 circular n-digit numbers with adjacent digits differing by 4 or less. +0
1
1, 16, 124, 796, 5924, 44916, 348652, 2743036, 21801764, 174565444, 1405459324, 11362215276, 92138276228, 748875775404, 6097017988948, 49701864868956, 405539673414148, 3311264043438796, 27050524930821556, 221065493126829404 (list; graph; listen)
OFFSET

0,2

COMMENT

[Empirical] a(base,n)=a(base-1,n)+A025014(n+1) for base>=4.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]`>4)+($[(i+1)mod N]`-$[i]`>4))

CROSSREFS

Adjacent sequences: A125350 A125351 A125352 this_sequence A125354 A125355 A125356

Sequence in context: A030508 A006215 A060633 this_sequence A126511 A067442 A000485

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research