login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126487 Number of base 19 n-digit numbers with adjacent digits differing by three or less. 2
1, 19, 121, 791, 5217, 34587, 230033, 1533159, 10233063, 68367029, 457062389, 3057032825, 20453043685, 136869404619, 916044100681, 6131521065627, 41043887722493, 274756556545945, 1839334652522085, 12313523619477007 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

[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

PROG

(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: A157340 A070302 A125329 * A109669 A164905 A142106

Adjacent sequences:  A126484 A126485 A126486 * A126488 A126489 A126490

KEYWORD

nonn,base

AUTHOR

R. H. Hardin (rhhardin(AT)att.net), Dec 27 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.