cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A126411 Number of base 24 n-digit numbers with adjacent digits differing by two or less.

Original entry on oeis.org

1, 24, 114, 550, 2668, 12986, 63348, 309524, 1514230, 7415030, 36339360, 178207260, 874402930, 4292397700, 21079558088, 103555346934, 508877542076, 2501307731338, 12297585994658, 60472695897300, 297423291148782
Offset: 0

Views

Author

R. H. Hardin, Dec 28 2006

Keywords

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

Crossrefs

Cf. Base 24 differing by one or less A126378.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1, add(
         `if`(i=0 or abs(i-j)<3, b(n-1, j), 0), j=1..24))
        end:
    a:= n-> b(n, 0):
    seq(a(n), n=0..20);  # Alois P. Heinz, Sep 25 2015

Formula

G.f.: -(8*x^12 +49*x^11 -117*x^10 -525*x^9 +450*x^8 +1346*x^7 -678*x^6 -1203*x^5 +458*x^4 +302*x^3 -145*x^2 +11*x +1) / (2*x^12 +11*x^11 -33*x^10 -115*x^9 +150*x^8 +286*x^7 -260*x^6 -237*x^5 +190*x^4 +38*x^3 -53*x^2 +13*x -1). - Alois P. Heinz, Sep 25 2015

A126492 Number of base 24 n-digit numbers with adjacent digits differing by three or less.

Original entry on oeis.org

1, 24, 156, 1036, 6932, 46592, 314068, 2121404, 14350760, 97189500, 658783572, 4468484736, 30325445672, 205889162656, 1398299571460, 9498979946468, 64541625486340, 438601729211104, 2980942930020288, 20261817487044168
Offset: 0

Views

Author

R. H. Hardin, Dec 27 2006

Keywords

Comments

[Empirical] a(base,n)=a(base-1,n)+7^(n-1) for base>=3n-2; a(base,n)=a(base-1,n)+7^(n-1)-2 when base=3n-3

Crossrefs

Cf. Base 24 differing by two or less A126411, one or less A126378.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1, add(
         `if`(i=0 or abs(i-j)<4, b(n-1, j), 0), j=1..24))
        end:
    a:= n-> b(n, 0):
    seq(a(n), n=0..20);  # Alois P. Heinz, Sep 25 2015

Formula

G.f.: -(36*x^11 -104*x^10 -272*x^9 +557*x^8 +624*x^7 -998*x^6 -524*x^5 +660*x^4 +134*x^3 -127*x^2 +10*x +1) / (12*x^11 -40*x^10 -80*x^9 +223*x^8 +156*x^7 -410*x^6 -88*x^5 +276*x^4 -10*x^3 -53*x^2 +14*x -1). - Alois P. Heinz, Sep 25 2015

A126519 Number of base 24 n-digit numbers with adjacent digits differing by four or less.

Original entry on oeis.org

1, 24, 196, 1644, 13916, 118416, 1010892, 8648028, 74086762, 635291688, 5451042614, 46791744232, 401773647392, 3450448765596, 29636332554924, 254571572184234, 2186853928177032, 18786503501683672, 161392382824498244
Offset: 0

Views

Author

R. H. Hardin, Dec 28 2006

Keywords

Comments

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

Crossrefs

Cf. Base 24 differing by three or less A126492, two or less A126411, one or less A126378.

A126545 Number of base 24 n-digit numbers with adjacent digits differing by five or less.

Original entry on oeis.org

1, 24, 234, 2354, 23924, 244486, 2505990, 25729152, 264403424, 2718476326, 27957786710, 287570952278, 2958167790692, 30431267734052, 313060248631608, 3220635873588592, 33132828240473566, 340860858043433410
Offset: 0

Views

Author

R. H. Hardin, Dec 28 2006

Keywords

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

Crossrefs

Cf. Base 24 differing by four or less A126519, three or less A126492, two or less A126411, one or less A126378.
Showing 1-4 of 4 results.