Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126488
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126488 Number of base 20 n-digit numbers with adjacent digits differing by three or less. +0
3
1, 20, 128, 840, 5560, 36988, 246840, 1650808, 11056590, 74130748, 497387482, 3339002940, 22423219250, 150623072388, 1011962290858, 6799752144942, 45694220498130, 307084056184964, 2063824981953422, 13870824556736138 (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 20 differing by two or less A126407, one or less A126374.

Sequence in context: A004634 A073968 A125330 this_sequence A005551 A006417 A156392

Adjacent sequences: A126485 A126486 A126487 this_sequence A126489 A126490 A126491

KEYWORD

nonn,base

AUTHOR

Ron Hardin (rhhardin(AT)att.net), 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 | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research