Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126487
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126487 Number of base 19 n-digit numbers with adjacent digits differing by three or less. +0
3
1, 19, 121, 791, 5217, 34587, 230033, 1533159, 10233063, 68367029, 457062389, 3057032825, 20453043685, 136869404619, 916044100681, 6131521065627, 41043887722493, 274756556545945, 1839334652522085, 12313523619477007 (list; graph; listen)
OFFSET

0,2

COMMENT

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

PROGRAM

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

CROSSREFS

Cf. Base 19 differing by two or less A126406, one or less A126373.

Sequence in context: A044732 A070302 A125329 this_sequence A109669 A142106 A078851

Adjacent sequences: A126484 A126485 A126486 this_sequence A126488 A126489 A126490

KEYWORD

nonn

AUTHOR

Ron Hardin (rhh(AT)cadence.com), Dec 27 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 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research