Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126378
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126378 Number of base 24 n-digit numbers with adjacent digits differing by one or less. +0
5
1, 24, 70, 206, 608, 1798, 5324, 15780, 46806, 138918, 412508, 1225432, 3641690, 10825628, 32190154, 95741294, 284820048, 847475910, 2522096172, 7507000776, 22347852666, 66537181776, 198128815230, 590039959434, 1757365514652 (list; graph; listen)
OFFSET

0,2

COMMENT

[Empirical] a(base,n)=a(base-1,n)+3^(n-1) for base>=n; a(base,n)=a(base-1,n)+3^(n-1)-2 when base=n-1

PROGRAM

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

CROSSREFS

Sequence in context: A051876 A069174 A124717 this_sequence A006352 A090860 A064200

Adjacent sequences: A126375 A126376 A126377 this_sequence A126379 A126380 A126381

KEYWORD

nonn

AUTHOR

Ron Hardin (rhh(AT)cadence.com), Dec 26 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 September 6 00:03 EDT 2008. Contains 143485 sequences.


AT&T Labs Research