

A126546


Number of base 25 ndigit 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(base1,n)+11^(n1) for base>=5n4; a(base,n)=a(base1,n)+11^(n1)2 when base=5n5


LINKS

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


PROG

(S/R) stvar $[N]:(0..M1) init $[]:=0 asgn $[]>{*} kill +[i in 0..N2](($[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



