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.

Previous Showing 11-15 of 15 results.

A062708 Write 0,1,2,3,4,... in a triangular spiral; then a(n) is the sequence found by reading the terms along the line from 0 in the direction 0,2,...

Original entry on oeis.org

0, 2, 13, 33, 62, 100, 147, 203, 268, 342, 425, 517, 618, 728, 847, 975, 1112, 1258, 1413, 1577, 1750, 1932, 2123, 2323, 2532, 2750, 2977, 3213, 3458, 3712, 3975, 4247, 4528, 4818, 5117, 5425, 5742, 6068, 6403, 6747, 7100, 7462, 7833, 8213, 8602, 9000
Offset: 0

Views

Author

Floor van Lamoen, Jul 21 2001

Keywords

Examples

			The spiral begins:
.
            15
            / \
          16  14
          /     \
        17   3  13
        /   / \   \
      18   4   2  12
      /   /     \   \
    19   5   0---1  11
    /   /             \
  20   6---7---8---9--10
.
From _Vincenzo Librandi_, Aug 07 2010: (Start)
a(1) = 9*1 +  0 - 7 =  2;
a(2) = 9*2 +  2 - 7 = 13;
a(3) = 9*3 + 13 - 7 = 33. (End)
		

Crossrefs

Cf. A051682.
Cf. A218470.
Cf. numbers of the form n*(n*k-k+4)/2 listed in A226488 (this is case k=9).

Programs

Formula

a(n) = n*(9*n-5)/2.
a(n) = 9*n + a(n-1) - 7 (with a(0)=0). - Vincenzo Librandi, Aug 07 2010
From Colin Barker, Jul 07 2012: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: x*(2+7*x)/(1-x)^3. (End)
a(n) = A218470(9n+1). - Philippe Deléham, Mar 27 2013
E.g.f.: x*(4 + 9*x)*exp(x)/2. - G. C. Greubel, Sep 02 2019

A062725 Write 0, 1, 2, 3, 4, ... in a triangular spiral, then a(n) is the sequence found by reading the terms along the line from 0 in the direction 0, 7, ...

Original entry on oeis.org

0, 7, 23, 48, 82, 125, 177, 238, 308, 387, 475, 572, 678, 793, 917, 1050, 1192, 1343, 1503, 1672, 1850, 2037, 2233, 2438, 2652, 2875, 3107, 3348, 3598, 3857, 4125, 4402, 4688, 4983, 5287, 5600, 5922, 6253, 6593, 6942, 7300, 7667, 8043, 8428, 8822, 9225, 9637, 10058
Offset: 0

Views

Author

Floor van Lamoen, Jul 21 2001

Keywords

Comments

Central terms of triangle A245300. - Reinhard Zumkeller, Jul 17 2014
Digital root of a(n) = A180597(n). - Gionata Neri, Apr 29 2015

Examples

			The spiral begins:
.
            15
            / \
          16  14
          /     \
        17   3  13
        /   / \   \
      18   4   2  12
      /   /     \   \
    19   5   0---1  11
    /   /             \
  20   6---7---8---9--10
.
		

Crossrefs

Programs

Formula

a(n) = n*(9*n+5)/2.
a(n) = 9*n + a(n-1) - 2 with a(0)=0. - Vincenzo Librandi, Aug 07 2010
From Colin Barker, Jul 07 2012: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: x*(7+2*x)/(1-x)^3. (End)
a(n) = A218470(9*n+6). - Philippe Deléham, Mar 27 2013
a(n) = a(n-1) + A017245(n-1), a(0)=0. - Gionata Neri, Apr 30 2015
E.g.f.: exp(x)*x*(14 + 9*x)/2. - Elmo R. Oliveira, Dec 12 2024

Extensions

Formula that confused indices corrected by R. J. Mathar, Jun 04 2010

A218530 Partial sums of floor(n/11).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 106, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 171
Offset: 0

Views

Author

Philippe Deléham, Mar 27 2013

Keywords

Comments

Apart from the initial zeros, the same as A008729.

Examples

			As square array:
..0....0....0....0....0....0....0....0....0....0....0
..1....2....3....4....5....6....7....8....9...10...11
.13...15...17...19...21...23...25...27...29...31...33
.36...39...42...45...48...51...54...57...60...63...66
.70...74...78...82...86...90...94...98..102..106..110
115..120..125..130..135..140..145..150..155..160..165
171..177..183..189..195..201..207..213..219..225..231
238..245..252..259..266..273..280..287..294..301..308
316..324..332..340..348..356..364..372..380..388..396
405..414..423..432..441..450..459..468..477..486..495
505..515..525..535..545..555..565..575..585..595..605
...
		

Crossrefs

Formula

a(11n) = A051865(n).
a(11n+1) = A180223(n).
a(11n+4) = A022268(n).
a(11n+5) = A022269(n).
a(11n+6) = A254963(n)
a(11n+9) = A211013(n).
a(11n+10) = A152740(n).
G.f.: x^11/((1-x)^2*(1-x^11)).

A221912 Partial sums of floor(n/12).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 125, 130, 135, 140, 145, 150, 155
Offset: 0

Views

Author

Philippe Deléham, Mar 27 2013

Keywords

Comments

Apart from the initial zeros, the same as A008730.

Examples

			..0....0....0....0....0....0....0....0....0....0....0....0
..1....2....3....4....5....6....7....8....9...10...11...12
.14...16...18...20...22...24...26...28...30...32...34...36
.39...42...45...48...51...54...57...60...63...66...69...72
.76...80...84...88...92...96..100..104..108..112..116..120
125..130..135..140..145..150..155..160..165..170..175..180
186..192..198..204..210..216..222..228..234..240..246..252
259..266..273..280..287..294..301..308..315..322..329..336
344..352..360..368..376..384..392..400..408..416..424..432
441..450..459..468..477..486..495..504..513..522..531..540
...
		

Crossrefs

Programs

  • Mathematica
    Accumulate[Floor[Range[0,70]/12]] (* or *) LinearRecurrence[{2,-1,0,0,0,0,0,0,0,0,0,1,-2,1},{0,0,0,0,0,0,0,0,0,0,0,0,1,2},70] (* Harvey P. Dale, Mar 23 2015 *)

Formula

a(12n) = A051866(n).
a(12n+1) = A139267(n).
a(12n+2) = A094159(n).
a(12n+3) = A033579(n).
a(12n+4) = A049452(n).
a(12n+5) = A033581(n).
a(12n+6) = A049453(n).
a(12n+7) = A033580(n).
a(12n+8) = A195319(n).
a(12n+9) = A202804(n).
a(12n+10) = A211014(n).
a(12n+11) = A049598(n).
G.f.: x^12/((1-x)^2*(1-x^12)).
a(0)=0, a(1)=0, a(2)=0, a(3)=0, a(4)=0, a(5)=0, a(6)=0, a(7)=0, a(8)=0, a(9)=0, a(10)=0, a(11)=0, a(12)=1, a(13)=2, a(n)=2*a(n-1)- a(n-2)+ a(n-12)- 2*a(n-13)+ a(n-14). - Harvey P. Dale, Mar 23 2015

A269445 a(n) = Sum_{k=0..n} floor(k/13).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 27 2016

Keywords

Comments

Partial sums of A090620.
More generally, the ordinary generating function for the Sum_{k=0..n} floor(k/m) is x^m/((1 - x^m)*(1 - x)^2).

Crossrefs

Cf. A090620.
Cf. similar sequences of Sum_{k=0..n} floor(k/m): A002620 (m=2), A130518 (m=3), A130519 (m=4), A130520 (m=5), A174709 (m=6), A174738 (m=7), A118729 (m=8), A218470 (m=9), A131242 (m=10), A218530 (m=11), A221912 (m=12), this sequence (m=13).

Programs

  • Mathematica
    Table[Sum[Floor[k/13], {k, 0, n}], {n, 0, 73}]
    LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2}, 74]

Formula

G.f.: x^13/((1 - x^13)*(1 - x)^2).
a(n) = 2*a(n-1) - a(n-2) + a(n-13) - 2*a(n-14) + a(n-15).
Previous Showing 11-15 of 15 results.