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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126546 Number of base 25 n-digit numbers with adjacent digits differing by five or less. 0
1, 25, 245, 2475, 25255, 259127, 2667039, 27499769, 283843569, 2931488329, 30286288971, 312960372023, 3234309867213, 33427353913483, 345492390255623, 3570953641573985, 36909251330677927, 381495392831876277 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

[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

LINKS

Table of n, a(n) for n=0..17.

PROG

(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 25 differing by four or less A126520, three or less A126493, two or less A126412, one or less A126379.

Sequence in context: A108178 A107943 A125388 * A023073 A022685 A042208

Adjacent sequences:  A126543 A126544 A126545 * A126547 A126548 A126549

KEYWORD

nonn,base

AUTHOR

R. H. Hardin, Dec 28 2006

STATUS

approved

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

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

Last modified September 1 07:07 EDT 2014. Contains 246288 sequences.