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-7 of 7 results.

A033581 a(n) = 6*n^2.

Original entry on oeis.org

0, 6, 24, 54, 96, 150, 216, 294, 384, 486, 600, 726, 864, 1014, 1176, 1350, 1536, 1734, 1944, 2166, 2400, 2646, 2904, 3174, 3456, 3750, 4056, 4374, 4704, 5046, 5400, 5766, 6144, 6534, 6936, 7350, 7776, 8214, 8664, 9126, 9600, 10086, 10584, 11094, 11616
Offset: 0

Views

Author

Keywords

Comments

Number of edges of a complete 4-partite graph of order 4n, K_n,n,n,n. - Roberto E. Martinez II, Oct 18 2001
Number of edges of the complete bipartite graph of order 7n, K_n, 6n. - Roberto E. Martinez II, Jan 07 2002
Number of edges in the line graph of the product of two cycle graphs, each of order n, L(C_n x C_n). - Roberto E. Martinez II, Jan 07 2002
Total surface area of a cube of edge length n. See A000578 for cube volume. See A070169 and A071399 for surface area and volume of a regular tetrahedron and links for the other Platonic solids. - Rick L. Shepherd, Apr 24 2002
a(n) can represented as n concentric hexagons (see example). - Omar E. Pol, Aug 21 2011
Sequence found by reading the line from 0, in the direction 0, 6, ..., in the square spiral whose vertices are the generalized pentagonal numbers A001318. Opposite numbers to the members of A003154 in the same spiral. - Omar E. Pol, Sep 08 2011
Together with 1, numbers m such that floor(2*m/3) and floor(3*m/2) are both squares. Example: floor(2*150/3) = 100 and floor(3*150/2) = 225 are both squares, so 150 is in the sequence. - Bruno Berselli, Sep 15 2014
a(n+1) gives the number of vertices in a hexagon-like honeycomb built from A003215(n) congruent regular hexagons (see link). Example: a hexagon-like honeycomb consisting of 7 congruent regular hexagons has 1 core hexagon inside a perimeter of six hexagons. The perimeter has 18 vertices. The core hexagon has 6 vertices. a(2) = 18 + 6 = 24 is the total number of vertices. - Ivan N. Ianakiev, Mar 11 2015
a(n) is the area of the Pythagorean triangle whose sides are (3n, 4n, 5n). - Sergey Pavlov, Mar 31 2017
More generally, if k >= 5 we have that the sequence whose formula is a(n) = (2*k - 4)*n^2 is also the sequence found by reading the line from 0, in the direction 0, (2*k - 4), ..., in the square spiral whose vertices are the generalized k-gonal numbers. In this case k = 5. - Omar E. Pol, May 13 2018
The sequence also gives the number of size=1 triangles within a match-made hexagon of size n. - John King, Mar 31 2019
For hexagons, the number of matches required is A045945; thus number of size=1 triangles is A033581; number of larger triangles is A307253 and total number of triangles is A045949. See A045943 for analogs for Triangles; see A045946 for analogs for Stars. - John King, Apr 04 2019

Examples

			From _Omar E. Pol_, Aug 21 2011: (Start)
Illustration of initial terms as concentric hexagons:
.
.                                 o o o o o o
.                                o           o
.              o o o o          o   o o o o   o
.             o       o        o   o       o   o
.   o o      o   o o   o      o   o   o o   o   o
.  o   o    o   o   o   o    o   o   o   o   o   o
.   o o      o   o o   o      o   o   o o   o   o
.             o       o        o   o       o   o
.              o o o o          o   o o o o   o
.                                o           o
.                                 o o o o o o
.
.    6            24                   54
.
(End)
		

Crossrefs

Bisection of A032528. Central column of triangle A001283.
Cf. A017593 (first differences).

Programs

Formula

a(n) = A000290(n)*6. - Omar E. Pol, Dec 11 2008
a(n) = A001105(n)*3 = A033428(n)*2. - Omar E. Pol, Dec 13 2008
a(n) = 12*n + a(n-1) - 6, with a(0)=0. - Vincenzo Librandi, Aug 05 2010
G.f.: 6*x*(1+x)/(1-x)^3. - Colin Barker, Feb 14 2012
For n > 0: a(n) = A005897(n) - 2. - Reinhard Zumkeller, Apr 27 2014
a(n) = 3*floor(1/(1-cos(1/n))) = floor(1/(1-n*sin(1/n))) for n > 0. - Clark Kimberling, Oct 08 2014
a(n) = t(4*n) - 4*t(n), where t(i) = i*(i+k)/2 for any k. Special case (k=1): a(n) = A000217(4*n) - 4*A000217(n). - Bruno Berselli, Aug 31 2017
From Amiram Eldar, Feb 03 2021: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/36.
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/72 (A086729).
Product_{n>=1} (1 + 1/a(n)) = sqrt(6)*sinh(Pi/sqrt(6))/Pi.
Product_{n>=1} (1 - 1/a(n)) = sqrt(6)*sin(Pi/sqrt(6))/Pi. (End)
E.g.f.: 6*exp(x)*x*(1 + x). - Stefano Spezia, Aug 19 2022

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Nov 08 2001

A135453 a(n) = 12*n^2.

Original entry on oeis.org

0, 12, 48, 108, 192, 300, 432, 588, 768, 972, 1200, 1452, 1728, 2028, 2352, 2700, 3072, 3468, 3888, 4332, 4800, 5292, 5808, 6348, 6912, 7500, 8112, 8748, 9408, 10092, 10800, 11532, 12288, 13068, 13872, 14700, 15552, 16428, 17328, 18252, 19200, 20172, 21168, 22188
Offset: 0

Views

Author

Ben Paul Thurston, Dec 14 2007

Keywords

Comments

Areas of perfect 4:3 rectangles (for n > 0).
Sequence found by reading the line from 0, in the direction 0, 12, ..., in the square spiral whose vertices are the generalized octagonal numbers A001082. Semi-axis opposite to A069190 in the same spiral. - Omar E. Pol, Sep 16 2011
(x,y,z) = (-a(n), 1 + n*a(n), 1 - n*a(n)) are solutions of the Diophantine equation x^3 + 2*y^3 + 2*z^3 = 4. - XU Pingya, Apr 30 2022

Examples

			192 is on the list since 16*12 is a 4:3 rectangle with integer sides and an area of 192.
		

Crossrefs

Programs

Formula

a(n) = 12*A000290(n) = 6*A001105(n) = 4*A033428(n) = 3*A016742(n) = 2*A033581(n). - Omar E. Pol, Dec 13 2008
From Amiram Eldar, Feb 03 2021: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/72 (A086729).
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/144.
Product_{n>=1} (1 + 1/a(n)) = 2*sqrt(3)*sinh(Pi/(2*sqrt(3)))/Pi.
Product_{n>=1} (1 - 1/a(n)) = 2*sqrt(3)*sin(Pi/(2*sqrt(3)))/Pi. (End)
From Elmo R. Oliveira, Nov 30 2024: (Start)
G.f.: 12*x*(1 + x)/(1-x)^3.
E.g.f.: 12*x*(1 + x)*exp(x).
a(n) = n*A008594(n) = A195143(2*n).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2. (End)

Extensions

More terms from Stefan Steinerberger, Dec 17 2007
Minor edits from Omar E. Pol, Dec 15 2008

A016946 a(n) = (6*n+3)^2.

Original entry on oeis.org

9, 81, 225, 441, 729, 1089, 1521, 2025, 2601, 3249, 3969, 4761, 5625, 6561, 7569, 8649, 9801, 11025, 12321, 13689, 15129, 16641, 18225, 19881, 21609, 23409, 25281, 27225, 29241, 31329, 33489, 35721, 38025, 40401, 42849, 45369, 47961, 50625, 53361, 56169
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

a(n) = 36*A002378(n)+9. - Jean-Bernard François, Oct 12 2014
From Wesley Ivan Hurt, Oct 13 2014: (Start)
G.f.: 9*(1+6*x+x^2)/(1-x)^3.
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3).
a(n) = A016945(n)^2 = A000290(A016945(n)). (End)
Sum_{n>=0} 1/a(n) = A086729. - Amiram Eldar, Nov 16 2020
a(n) = 9*A016754(n). - R. J. Mathar, Dec 11 2020
Sum_{n>=0} (-1)^n/a(n) = G/9, where G is Catalan's constant (A006752). - Amiram Eldar, Mar 30 2022
E.g.f.: 9*exp(x)*(1 + 8*x + 4*x^2). - Stefano Spezia, Aug 19 2022

A353908 Decimal expansion of Pi^2/36.

Original entry on oeis.org

2, 7, 4, 1, 5, 5, 6, 7, 7, 8, 0, 8, 0, 3, 7, 7, 3, 9, 4, 1, 2, 0, 6, 9, 1, 9, 4, 4, 4, 1, 0, 0, 4, 1, 9, 8, 2, 0, 3, 1, 5, 8, 3, 1, 6, 8, 6, 7, 7, 9, 9, 7, 3, 9, 6, 2, 2, 5, 9, 3, 0, 3, 8, 2, 2, 8, 3, 3, 4, 5, 7, 8, 4, 0, 0, 5, 3, 3, 4, 7, 8, 9, 7, 2, 2, 7, 1, 4, 8, 3, 4, 3, 6, 6, 2, 6, 4, 5, 0, 8, 8, 4, 0, 0, 0, 7
Offset: 0

Views

Author

Omar E. Pol, May 10 2022

Keywords

Comments

Ratio between the volume of the stepped pyramid with an infinite number of levels described in A245092 and that of the circumscribed cube (see the first formula).
See also Vaclav Kotesovec's formula (2016) in A175254.
Volume shared by a sphere inscribed in a cube of volume Pi and one of the six pyramids inscribed in the cube. - Omar E. Pol, Sep 01 2024

Examples

			0.2741556778080377394120691944410041982031583168677997396225930382283345784...
		

Crossrefs

Programs

  • Maple
    evalf(Pi^2/36, 121);  # Alois P. Heinz, May 11 2022
  • Mathematica
    RealDigits[Pi^2/36, 10, 100][[1]] (* Amiram Eldar, May 11 2022 *)
  • PARI
    Pi^2/36
    
  • PARI
    zeta(2)/6

Formula

Equals lim_{n->oo} A175254(n)/n^3.
Equals A002388/36.
Equals A102753/18.
Equals A195055/12.
Equals A091476/9.
Equals A013661/6.
Equals A100044/4.
Equals A072691/3.
Equals A086463/2.
Equals A086729*2.
Equals A019673^2.
Equals Re(dilog((1+sqrt(3)*i)/2)). - Mohammed Yaseen, Jul 03 2024

A284098 a(n) = Sum_{d|n, d == 1 (mod 6)} d.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 14, 8, 1, 1, 1, 1, 20, 1, 8, 1, 1, 1, 26, 14, 1, 8, 1, 1, 32, 1, 1, 1, 8, 1, 38, 20, 14, 1, 1, 8, 44, 1, 1, 1, 1, 1, 57, 26, 1, 14, 1, 1, 56, 8, 20, 1, 1, 1, 62, 32, 8, 1, 14, 1, 68, 1, 1, 8, 1, 1, 74, 38, 26, 20, 8, 14, 80, 1, 1
Offset: 1

Views

Author

Seiichi Manyama, Mar 20 2017

Keywords

Crossrefs

Cf. Sum_{d|n, d==1 (mod k)} d: A000593 (k=2), A078181 (k=3), A050449 (k=4), A284097 (k=5), this sequence (k=6), A284099 (k=7), A284100 (k=8).

Programs

  • Mathematica
    Table[Sum[If[Mod[d, 6] == 1, d, 0], {d, Divisors[n]}], {n, 80}] (* Indranil Ghosh, Mar 21 2017 *)
  • PARI
    for(n=1, 82, print1(sumdiv(n, d, if(Mod(d, 6)==1, d, 0)), ", ")) \\ Indranil Ghosh, Mar 21 2017
    
  • Python
    from sympy import divisors
    def a(n): return sum([d for d in divisors(n) if d%6==1]) # Indranil Ghosh, Mar 21 2017

Formula

G.f.: Sum_{k>=0} (6*k + 1)*x^(6*k+1)/(1 - x^(6*k+1)). - Ilya Gutkovskiy, Mar 21 2017
G.f.: Sum_{n >= 1} x^n*(1 + 5*x^(6*n))/(1 - x^(6*n))^2. - Peter Bala, Dec 19 2021
Sum_{k=1..n} a(k) = c * n^2 + O(n*log(n)), where c = Pi^2/72 = 0.137077... (A086729). - Amiram Eldar, Nov 26 2023

A284104 a(n) = Sum_{d|n, d == 5 (mod 6)} d.

Original entry on oeis.org

0, 0, 0, 0, 5, 0, 0, 0, 0, 5, 11, 0, 0, 0, 5, 0, 17, 0, 0, 5, 0, 11, 23, 0, 5, 0, 0, 0, 29, 5, 0, 0, 11, 17, 40, 0, 0, 0, 0, 5, 41, 0, 0, 11, 5, 23, 47, 0, 0, 5, 17, 0, 53, 0, 16, 0, 0, 29, 59, 5, 0, 0, 0, 0, 70, 11, 0, 17, 23, 40, 71, 0, 0, 0, 5, 0, 88, 0, 0, 5
Offset: 1

Views

Author

Seiichi Manyama, Mar 20 2017

Keywords

Crossrefs

Cf. Sum_{d|n, d=k-1 mod k} d: A000593 (k=2), A078182 (k=3), A050452 (k=4), A284103 (k=5), this sequence (k=6), A284105 (k=7).

Programs

  • Mathematica
    Table[Sum[If[Mod[d, 6] == 5, d, 0], {d, Divisors[n]}], {n, 80}] (* Indranil Ghosh, Mar 21 2017 *)
    Table[Total[Select[Divisors[n],Mod[#,6]==5&]],{n,80}] (* Harvey P. Dale, Dec 30 2017 *)
  • PARI
    for(n=1, 80, print1(sumdiv(n, d, if(Mod(d,6)==5, d, 0)),", ")) \\ Indranil Ghosh, Mar 21 2017
    
  • Python
    from sympy import divisors
    def a(n): return sum([d for d in divisors(n) if d%6==5]) # Indranil Ghosh, Mar 21 2017

Formula

G.f.: Sum_{k>=1} (6*k - 1)*x^(6*k-1)/(1 - x^(6*k-1)). - Ilya Gutkovskiy, Mar 21 2017
Sum_{k=1..n} a(k) = c * n^2 + O(n*log(n)), where c = Pi^2/72 = 0.137077... (A086729). - Amiram Eldar, Nov 26 2023

A293990 a(n) = (3*n + ((n-2) mod 4))/2.

Original entry on oeis.org

1, 3, 3, 5, 7, 9, 9, 11, 13, 15, 15, 17, 19, 21, 21, 23, 25, 27, 27, 29, 31, 33, 33, 35, 37, 39, 39, 41, 43, 45, 45, 47, 49, 51, 51, 53, 55, 57, 57, 59, 61, 63, 63, 65, 67, 69, 69, 71, 73, 75, 75, 77, 79, 81, 81, 83, 85, 87, 87, 89, 91, 93, 93
Offset: 0

Views

Author

Dimitris Valianatos, Oct 21 2017

Keywords

Comments

The product (2/3) * (4/3) * (6/5) * (6/7) * (8/9) * (10/9) * (12/11) * (12/13) * ... = Pi/(2*sqrt(3)). The denominators are a(n) for n >= 1 and numerators are a(n-1) + A093148(n) for n >= 1 -> [2, 4, 6, 6, 8, 10, 12, 12, ...].
Let r(n) = (a(n)-1)/(a(n)+1) if a(n) mod 4 = 1, (a(n)+1)/(a(n)-1) otherwise; then Product_{n>=1} r(n) = (2/1) * (2/1) * (2/3) * (4/3) * (4/5) * (4/5) * (6/5) * (6/7) * ... = Pi*sqrt(3)/2 = 2.72069904635132677...
The odd numbers of partial sums this sequence, are identified with the A003215 sequence. Also the prime numbers that appear in partial sums in this sequence, are identified with the A002407 sequence.

Crossrefs

Programs

  • Magma
    [(3*n+((n-2) mod 4))/2 : n in [0..100]]; // Wesley Ivan Hurt, Oct 29 2017
  • Maple
    A293990:=n->(3*n+((n-2) mod 4))/2: seq(A293990(n), n=0..100); # Wesley Ivan Hurt, Oct 29 2017
  • Mathematica
    Table[(3*n + Mod[(n - 2), 4])/2, {n, 0, 100}] (* Wesley Ivan Hurt, Oct 29 2017 *)
    f[n_] := (3n + Mod[n - 2, 4])/2; Array[f, 65, 0] (* or *)
    LinearRecurrence[{1, 0, 0, 1, -1}, {1, 3, 3, 5, 7}, 65] (* or *)
    CoefficientList[ Series[(x^4 + 2x^3 + 2x + 1)/((x - 1)^2 (x^3 + x^2 + x + 1)), {x, 0, 64}], x] (* Robert G. Wilson v, Nov 28 2017 *)
  • PARI
    a(n) = (3*n + (n-2)%4) / 2
    
  • PARI
    Vec(x*(1 + 2*x + 2*x^3 + x^4) / ((1 - x)^2*(1 + x)*(1 + x^2)) + O(x^30)) \\ Colin Barker, Oct 21 2017
    
  • PARI
    first(n) = my(start=[1,3,3,5,7,9,9,11]); if(n<=8, return(start)); my(res=vector(n)); for (i=1, 8, res[i] = start[i]); for(i = 1, n-8 ,res[i+8] = res[i] + 12); res \\ David A. Corneth, Oct 21 2017
    

Formula

Sum_{n>=0} 1/a(n)^2 = 5*Pi^2/36 = 1.3707783890401886970... = 10*A086729.
(a(n) - n) * (-1)^(n+1) = A134967(n) for n >= 0.
a(n) - n = A162330(n) for n >= 0.
a(n) - n = A285869(n+1) for n >= 0.
a(n) + a(n+1) = A157932(n+2) for n >= 0.
a(n) + (2*n+1) = A047298(n+1) for n >= 0.
From Colin Barker, Oct 21 2017: (Start)
G.f.: x*(1 + 2*x + 2*x^3 + x^4) / ((1 - x)^2*(1 + x)*(1 + x^2)).
a(n) = a(n-1) + a(n-4) - a(n-5) for n > 5.
(End)
a(n + 8) = a(n) + 12. - David A. Corneth, Oct 21 2017
a(4*k+4) * a(4*k+3) - a(4*k+2) * a(4*k+1) = 2*A063305(k+3) for k >= 0.
Sum_{n>=0} 1/(a(n) + a(n+2))^2 = (4*Pi^2 - 27) / 108 = (A214549 - 1) / 4.
Showing 1-7 of 7 results.