Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126543
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126543 Number of base 22 n-digit numbers with adjacent digits differing by five or less. +0
1
1, 22, 212, 2112, 21262, 215204, 2183942, 22191818, 225641380, 2294976992, 23345496862, 237497850214, 2416193594602, 24581666342894, 250088998066402, 2544366359893456, 25886037501605214, 263361284829149912 (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 22 differing by four or less A126517, three or less A126490, two or less A126409, one or less A126376.

Sequence in context: A010828 A022714 A125385 this_sequence A008453 A066573 A121087

Adjacent sequences: A126540 A126541 A126542 this_sequence A126544 A126545 A126546

KEYWORD

nonn

AUTHOR

Ron Hardin (rhhardin(AT)att.net), 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 | 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