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

A097080 a(n) = 2*n^2 - 2*n + 3.

Original entry on oeis.org

3, 7, 15, 27, 43, 63, 87, 115, 147, 183, 223, 267, 315, 367, 423, 483, 547, 615, 687, 763, 843, 927, 1015, 1107, 1203, 1303, 1407, 1515, 1627, 1743, 1863, 1987, 2115, 2247, 2383, 2523, 2667, 2815, 2967, 3123, 3283, 3447, 3615, 3787, 3963, 4143, 4327, 4515, 4707
Offset: 1

Views

Author

N. J. A. Sloane, Nov 02 2008

Keywords

Comments

The rational numbers may be totally ordered, first by height (see A002246) and then by magnitude; every rational number of height n appears in this ordering at a position <= a(n).
This ordering of the rationals is given in A113136/A113137.
The old entry with this sequence number was a duplicate of A027356.
This is also the sum of the pairwise averages of five consecutive triangular numbers in A000217. Start with A000217(0): (0+1)/2 + (1+3)/2 + (3+6)/2 + (6+10)/2 = 15, which is the third term of this sequence. Simply continue to create this sequence. - J. M. Bergot, Jun 13 2012
2*a(n) is inverse radius (curvature) of the touching circle of the large semicircle (radius 1) and the n-th and (n-1)-st circles of the Pappus chain of the symmetric Arbelos. One can use Descartes three circle theorem to find the solution 4*n^2 - 4*n + 6, n >= 1. Note that the circle with curvature 6 is also the third circle of the clockwise Pappus chain, which is A059100(2) (by symmetry). See the illustration. - Wolfdieter Lang and Kival Ngaokrajang, Jul 01 2015
Numbers k such that 2*k - 5 is a square. - Bruno Berselli, Nov 08 2017

References

  • M. N. Huxley, Area, Lattice Points and Exponential Sums, Oxford, 1996, p. 7.

Crossrefs

Programs

  • Haskell
    a097080 n = 2 * n * (n - 1) + 3  -- Reinhard Zumkeller, Dec 15 2013
  • Mathematica
    Table[2n^2-2n+3,{n,50}] (* or *) LinearRecurrence[{3,-3,1},{3,7,15},50] (* Harvey P. Dale, Aug 02 2014 *)
    CoefficientList[Series[(3 - 2 x + 3 x^2)/(1 - x)^3, {x, 0, 50}], x] (* Vincenzo Librandi, Aug 03 2014 *)
  • PARI
    a(n)=2*n^2-2*n+3 \\ Charles R Greathouse IV, Jun 13 2012
    
  • PARI
    Vec(x*(3-2*x+3*x^2)/(1-x)^3 + O(x^50)) \\ Altug Alkan, Nov 11 2015
    

Formula

a(n) = 4*(n-1) + a(n-1) for n > 1, a(1)=3. - Vincenzo Librandi, Nov 16 2010
a(n) = A046092(n) + 3. - Reinhard Zumkeller, Dec 15 2013
G.f.: x*(3 - 2*x + 3*x^2)/(1 - x)^3. - Vincenzo Librandi, Aug 03 2014
a(n) = A027575(n-2)/2. - Michel Marcus, Nov 11 2015
Sum_{n>=1} 1/a(n) = Pi*tanh(sqrt(5)*Pi/2)/(2*sqrt(5)). - Amiram Eldar, Dec 23 2022
From Elmo R. Oliveira, Nov 16 2024: (Start)
E.g.f.: exp(x)*(2*x^2 + 3) - 3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)

A069910 Expansion of Product_{i in A069908} 1/(1 - x^i).

Original entry on oeis.org

1, 0, 1, 1, 2, 2, 3, 3, 5, 5, 7, 8, 11, 12, 16, 18, 23, 26, 33, 37, 46, 52, 63, 72, 87, 98, 117, 133, 157, 178, 209, 236, 276, 312, 361, 408, 471, 530, 609, 686, 784, 881, 1004, 1126, 1279, 1433, 1621, 1814, 2048, 2286, 2574, 2871, 3223, 3590, 4022, 4472, 5000
Offset: 0

Views

Author

N. J. A. Sloane, May 05 2002

Keywords

Comments

Number 39 of the 130 identities listed in Slater 1952.
Number of partitions of 2*n into distinct odd parts. - Vladeta Jovovic, May 08 2003

Examples

			G.f. = 1 + x^2 + x^3 + 2*x^4 + 2*x^5 + 3*x^6 + 3*x^7 + 5*x^8 + 5*x^9 + ...
G.f. = q^-1 + q^95 + q^143 + 2*q^191 + 2*q^239 + 3*q^287 + 3*q^335 + ...
		

References

  • M. D. Hirschhorn, The Power of q, Springer, 2017. Chapter 19, Exercises p. 173.

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=0, 1,
          add(add(d*[0$2, 1$4, 0$5, 1$4, 0][irem(d, 16)+1],
          d=numtheory[divisors](j))*a(n-j), j=1..n)/n)
        end:
    seq(a(n), n=0..80);  # Alois P. Heinz, Apr 01 2014
  • Mathematica
    max = 56; p = Product[1/(1-x^i), {i, Select[Range[max], MemberQ[{2, 3, 4, 5, 11, 12, 13, 14}, Mod[#, 16]]&]}]; s = Series[p, {x, 0, max}]; a[n_] := Coefficient[s, x, n]; Table[a[n], {n, 0, max}] (* Jean-François Alcover, Apr 09 2014 *)
    nmax=60; CoefficientList[Series[Product[(1-x^(8*k-1))*(1-x^(8*k-7))*(1-x^(8*k))*(1-x^(16*k-6))*(1-x^(16*k-10))/(1-x^k), {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Oct 04 2015 *)
    a[ n_] := SeriesCoefficient[ Product[ (1 - x^k)^-{ 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0 }[[ Mod[k, 16] + 1]], {k, n}], {x, 0, n}]; (* Michael Somos, Apr 14 2016 *)
  • PARI
    {a(n) = my(A); if( n<0,0, n=2*n; A = x * O(x^n); polcoeff( eta(-x + A) / eta(x^2 + A), n))}; /* Michael Somos, Apr 11 2004 */
    
  • PARI
    N=66;  q='q+O('q^N);  S=1+sqrtint(N);
    gf=sum(n=0, S, q^(2*n^2) / prod(k=1, 2*n, 1-q^k ) );
    Vec(gf)  \\ Joerg Arndt, Apr 01 2014
    
  • PARI
    {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( prod(k=1, n, (1 - x^k + x * O(x^n))^-[ 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0][k%16 + 1]), n))}; /* Michael Somos, Apr 14 2016 */

Formula

Euler transform of period 16 sequence [0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, ...]. - Michael Somos, Apr 11 2004
G.f.: Sum_{n>=0} q^(2*n^2) / Product_{k=1..2*n} (1 - q^k). - Joerg Arndt, Apr 01 2014
a(n) ~ exp(sqrt(n/3)*Pi) / (2^(5/2) * 3^(1/4) * n^(3/4)). - Vaclav Kotesovec, Oct 04 2015
Expansion of f(x^3, x^5) / f(-x^2) in powers of x where f(, ) is Ramanujan's general theta function. - Michael Somos, Apr 14 2016
a(n) = A000700(2*n).
a(n) = A027356(4n+1,2n+1). - Alois P. Heinz, Oct 28 2019
From Peter Bala, Feb 08 2021: (Start)
G.f.: A(x) = Product_{n >= 1} (1 + x^(4*n))^2*(1 + x^(4*n-2))*(1 + x^(8*n-3))*(1 + x^(8*n-5)).
The 2 X 2 matrix Product_{k >= 0} [1, x^(2*k+1); x^(2*k+1), 1] = [A(x^2), x*B(x^2); x*B(x)^2, A(x^2)], where B(x) is the g.f. of A069911.
A(x^2) + x*B(x^2) = A^2(-x) + x*B^2(-x) = Product_{k >= 0} 1 + x^(2*k+1), the g.f. of A000700.
A^2(x) + x*B^2(x) is the g.f. of A226622.
(A^2(x) + x*B^2(x))/(A^2(x) - x*B^2(x)) is the g.f. of A208850.
A^4(sqrt(x)) - x*B^4(sqrt(x)) is the g.f. of A029552.
A(x)*B(x) is the g.f. of A226635; A(-x)/B(-x) is the g.f. of A111374; B(-x)/A(-x) is the g.f. of A092869. (End)

A027357 Number of partitions of n into distinct odd parts, the greatest being congruent to 1 mod 4.

Original entry on oeis.org

1, 0, 0, 0, 1, 1, 0, 1, 2, 1, 0, 1, 2, 2, 1, 2, 4, 3, 2, 3, 5, 5, 3, 5, 8, 6, 5, 7, 10, 10, 8, 11, 15, 14, 12, 15, 20, 20, 18, 22, 28, 27, 25, 30, 37, 38, 35, 42, 51, 50, 49, 56, 67, 69, 67, 77, 90, 91, 90, 102, 117, 121, 121, 135, 155, 159, 160, 177
Offset: 1

Views

Author

Keywords

Comments

Also number of self-conjugate partitions of n into an odd number of parts. - Vladeta Jovovic, Feb 18 2004

Crossrefs

Formula

a(n) = (A000700(n)-(-1)^n*A053250(n))/2. - Vladeta Jovovic, Mar 12 2006
a(n) = Sum_{k=0..floor(n/4)-1} A027356(n, 4*k+1). - Sean A. Irvine, Oct 28 2019

A027358 Number of partitions of n into distinct odd parts, the greatest being congruent to 3 mod 4.

Original entry on oeis.org

0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 2, 2, 1, 1, 3, 3, 1, 2, 4, 4, 3, 3, 6, 6, 4, 6, 9, 9, 7, 8, 12, 12, 10, 12, 17, 18, 15, 17, 23, 24, 21, 25, 32, 33, 31, 34, 43, 45, 42, 48, 58, 61, 58, 64, 77, 80, 78, 87, 102, 107, 106, 115, 134, 141, 139, 153, 175
Offset: 1

Views

Author

Keywords

Comments

Also number of self-conjugate partitions of n into an even number of parts. - Vladeta Jovovic, Feb 18 2004

Crossrefs

Formula

a(n) = (A000700(n)+(-1)^n*A053250(n))/2. - Vladeta Jovovic, Mar 12 2006
a(n) + A027357(n) = A000700(n). - R. J. Mathar, Oct 03 2016
a(n) = Sum_{k=0..floor(n/4)-1} A027356(n, 4*k+3). - Sean A. Irvine, Oct 28 2019

A027359 Triangular array T read by rows: T(n,k) = number of partitions of n into distinct odd parts, all <= k.

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 2, 2, 0, 0, 0, 0, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 4
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A027356.

Formula

T(n, k) = Sum_{j=1..k} A027356(n, j). - Sean A. Irvine, Oct 29 2019
Showing 1-5 of 5 results.