login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126402 Number of base 15 n-digit numbers with adjacent digits differing by two or less. 3
1, 15, 69, 325, 1543, 7361, 35223, 168899, 811105, 3899407, 18761375, 90319881, 434998065, 2095690739, 10098729091, 48672013183, 234609419433, 1130969299775, 5452365150693, 26286944474683, 126739125460983 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
[Empirical] a(base,n)=a(base-1,n)+5^(n-1) for base>=2n-1; a(base,n)=a(base-1,n)+5^(n-1)-2 when base=2n-2.
LINKS
FORMULA
G.f.: (1+6*x-46*x^2+14*x^3+102*x^4-25*x^5-52*x^6+5*x^7+2*x^8) / (1-9*x+20*x^2+10*x^3-46*x^4+x^5+23*x^6-x^7-x^8) (conjectured). - Colin Barker, Jul 18 2017
PROG
(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>2)+($[i+1]`-$[i]`>2))
CROSSREFS
Cf. Base 15 differing by one or less A126369.
Sequence in context: A212109 A124893 A352941 * A053134 A320917 A343871
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 | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)