Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126530
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126530 Number of base 9 n-digit numbers with adjacent digits differing by five or less. +0
1
1, 9, 69, 541, 4231, 33101, 258953, 2025831, 15848391, 123984439, 969949627, 7588067405, 59362636295, 464403174075, 3633098554089, 28422297349753, 222352070721709, 1739494972761653, 13608340819322255, 106460175369651261 (list; graph; listen)
OFFSET

0,2

COMMENT

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

PROGRAM

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

CROSSREFS

Cf. Base 9 differing by four or less A126504, three or less A126477, two or less A126396, one or less A126363.

Sequence in context: A125372 A075045 A081616 this_sequence A110202 A110201 A045739

Adjacent sequences: A126527 A126528 A126529 this_sequence A126531 A126532 A126533

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research