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-10 of 22 results. Next

A084203 G.f. A(x) defined by: A(x)^3 consists entirely of integer coefficients between 1 and 3 (A083953); A(x) is the unique power series solution with A(0)=1.

Original entry on oeis.org

1, 1, 0, 0, 1, -1, 2, -2, 2, 0, -4, 12, -24, 38, -46, 33, 29, -176, 443, -827, 1222, -1310, 433, 2488, -8814, 19528, -33599, 44928, -37805, -17916, 168049, -463252, 921694, -1446018, 1679053, -808620, -2598482, 10515127, -24690122, 44515322, -62719429, 58496244, 10670109, -213311788, 632128236
Offset: 0

Views

Author

Paul D. Hanna, May 19 2003

Keywords

Comments

Does limit_{n ->infinity} a(n)/a(n+1) exist?

Crossrefs

Programs

  • Mathematica
    kmax = 45;
    A[x_] = Sum[a[k] x^k, {k, 0, kmax}];
    coes = CoefficientList[A[x]^3 + O[x]^kmax , x];
    r = {};
    Do[r = Flatten @ Append[r, Reduce[1 <= coes[[k]] <= 3, a[k-1], Integers] // ToRules]; coes = coes /. r, {k, 1, kmax}];
    Array[a, kmax, 0] /. r (* Jean-François Alcover, Jul 26 2018 *)

A104405 A084203 (the cube root of A083953) read mod 3.

Original entry on oeis.org

1, 1, 0, 0, 1, 2, 2, 1, 2, 0, 2, 0, 0, 2, 2, 0, 2, 1, 2, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 1, 1, 2, 2, 0, 0, 2, 0, 1, 2, 1, 0, 0, 2, 0, 0, 1, 2, 0, 0, 1, 0, 0, 2, 2, 2, 1, 2, 0, 0
Offset: 0

Views

Author

N. J. A. Sloane and Nadia Heninger, Jul 19 2005

Keywords

A110628 Trisection of A083953 such that the self-convolution cube is congruent modulo 9 to A083953, which consists entirely of 1's, 2's and 3's.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Congruent modulo 3 to A084203 and A104405; the self-convolution cube of A084203 equals A083953.

Crossrefs

Programs

  • PARI
    {a(n)=local(p=3,A,C,X=x+x*O(x^(p*n)));if(n==0,1, A=sum(i=0,n-1,a(i)*x^(p*i))+p*x*((1-x^(p-1))/(1-X))/(1-X^p); for(k=1,p,C=polcoeff((A+k*x^(p*n))^(1/p),p*n); if(denominator(C)==1,return(k);break)))}

Formula

a(n) = A083953(3*n) for n>=0. G.f. satisfies: A(x^3) = G(x) - 3*x*(1+x)/(1-x^3), where G(x) is the g.f. of A083953. G.f. satisfies: A(x)^3 = A(x^3) + 3*x*(1+x)/(1-x^3) + 9*x^2*H(x) where H(x) is the g.f. of A111582.

A108913 A083953 read mod 3.

Original entry on oeis.org

1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 2, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1
Offset: 0

Views

Author

N. J. A. Sloane and Nadia Heninger, Jul 19 2005

Keywords

A083952 Integer coefficients a(n) of A(x), where a(n) = 1 or 2 for all n, such that A(x)^(1/2) has only integer coefficients.

Original entry on oeis.org

1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
Offset: 0

Views

Author

Paul D. Hanna, May 09 2003

Keywords

Comments

More generally, the sequence "integer coefficients of A(x), where 1<=a(n)<=m, such that A(x)^(1/m) consists entirely of integer coefficients", appears to have a unique solution for all m. [That is true - see Theorem 17 of Heninger-Rains-Sloane (2006). - N. J. A. Sloane, Aug 27 2015]
Is this sequence periodic? [It is not periodic for m = 2 or 3. Larger cases remain open. - N. J. A. Sloane, Aug 27 2015]

Crossrefs

Cf. A084202 (A(x)^(1/2)), A108335 (A084202 mod 4), A108336 (A084202 mod 2), A108340 (a(n) mod 2). Positions of 1's: A108783.

Programs

  • Mathematica
    a[n_] := a[n] = Block[{s = Sum[a[i]*x^i, {i, 0, n - 1}]}, If[ IntegerQ@ Last@ CoefficientList[ Series[ Sqrt[s + x^n], {x, 0, n}], x], 1, 2]]; Table[ a[n], {n, 0, 104}] (* Robert G. Wilson v, Nov 25 2006 *)
    s = 0; a[n_] := a[n] = Block[{}, If[IntegerQ@ Last@ CoefficientList[ Series[ Sqrt[s + x^n], {x, 0, n}], x], s = s + x^n; 1, s = s + 2 x^n; 2]]; Table[ a@n, {n, 0, 104}] (* Robert G. Wilson v, Sep 08 2007 *)
  • PARI
    A083952_upto(N=99)=vector(N+1, n, if(n>1, (denominator(polcoeff(sqrt(O(x^n)+N+=x^(n-1)),n-1))>1 && N+=x^(n-1))+1, N=1)) \\ M. F. Hasler, Jan 27 2025

Extensions

More terms from N. J. A. Sloane, Jul 02 2005

A109626 Consider the array T(n,m) where the n-th row is the sequence of integer coefficients of A(x), where 1<=a(n)<=n, such that A(x)^(1/n) consists entirely of integer coefficients and where m is the (m+1)-th coefficient. This is the antidiagonal read from lower left to upper right.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 4, 3, 2, 1, 1, 5, 2, 1, 2, 1, 1, 6, 5, 4, 3, 2, 1, 1, 7, 3, 5, 3, 3, 1, 1, 1, 8, 7, 2, 5, 4, 3, 2, 1, 1, 9, 4, 7, 3, 1, 4, 3, 2, 1, 1, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 11, 5, 3, 2, 7, 6, 5, 1, 3, 1, 1, 1, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 13, 6, 11, 10, 9, 4, 1, 3, 5
Offset: 1

Views

Author

Keywords

Examples

			Table begins:
\k...0...1...2...3...4...5...6...7...8...9..10..11..12..13
n\
 1|  1   1   1   1   1   1   1   1   1   1   1   1   1   1
 2|  1   2   1   2   2   2   1   2   2   2   1   2   1   2
 3|  1   3   3   1   3   3   3   3   3   3   3   3   1   3
 4|  1   4   2   4   3   4   4   4   1   4   4   4   3   4
 5|  1   5   5   5   5   1   5   5   5   5   4   5   5   5
 6|  1   6   3   2   3   6   6   6   3   4   6   6   6   6
 7|  1   7   7   7   7   7   7   1   7   7   7   7   7   7
 8|  1   8   4   8   2   8   4   8   7   8   8   8   4   8
 9|  1   9   9   3   9   9   3   9   9   1   9   9   6   9
10|  1  10   5  10  10   2   5  10  10  10   3  10   5  10
11|  1  11  11  11  11  11  11  11  11  11  11   1  11  11
12|  1  12   6   4   9  12   4  12  12   8   6  12   6  12
13|  1  13  13  13  13  13  13  13  13  13  13  13  13   1
14|  1  14   7  14   7  14  14   2   7  14  14  14  14  14
15|  1  15  15   5  15   3  10  15  15  10  15  15   5  15
16|  1  16   8  16   4  16   8  16  10  16   8  16  12  16
		

Crossrefs

Diagonals: A000027 (main), A111614 (first upper), A111627 (2nd), A111615 (3rd), A111618 (first lower), A111623 (2nd).
Other diagonals: A005408 (T(2*n-1, n)), A111626, A111627, A111628, A111629, A111630.

Programs

  • Mathematica
    f[n_]:= f[n]= Block[{a}, a[0] = 1; a[l_]:= a[l]= Block[{k = 1, s = Sum[ a[i]*x^i, {i,0,l-1}]}, While[ IntegerQ[Last[CoefficientList[Series[(s + k*x^l)^(1/n), {x, 0, l}], x]]] != True, k++ ]; k]; Table[a[j], {j,0,32}]];
    T[n_, m_]:= f[n][[m]];
    Flatten[Table[T[i,n-i], {n,15}, {i,n-1,1,-1}]]
  • PARI
    A109626_row(n, len=40)={my(A=1, m); vector(len, k, if(k>m=1, while(denominator(polcoeff(sqrtn(O(x^k)+A+=x^(k-1), n), k-1))>1, m++); m, 1))} \\ M. F. Hasler, Jan 27 2025

Formula

When m is prime, column m is T(n,m) = n/gcd(m, n) = numerator of n/(n+m). - M. F. Hasler, Jan 27 2025

A083954 Least integer coefficients of A(x), where 1<=a(n)<=4, such that A(x)^(1/4) consists entirely of integer coefficients.

Original entry on oeis.org

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

Views

Author

Paul D. Hanna, May 09 2003

Keywords

Comments

More generally, "least integer coefficients of A(x), where 1<=a(n)<=m, such that A(x)^(1/m) consists entirely of integer coefficients", appears to have a unique solution for all m>0. Is this sequence periodic?
From M. F. Hasler, Jan 27 2025: (Start)
The sequence does not seem to become periodic.
Positions of '1's are: (0, 8, 60, 64, 72, 96, 100, 112, 116, 148, 160, 176, 184, 200, 240, 248, 268, 288, 304, 328, 336, 360, 376, 380, 384, 400, 408, 420, 424, 448, 460, 472, ...). All seem to be multiples of 4, mostly multiples of 8.
Positions of '3's are: (4, 12, 16, 28, 36, 40, 76, 84, 104, 124, 136, 172, 192, 196, 208, 212, 220, 232, 252, 260, 284, 296, 312, 364, 368, 392, 404, 428, 432, 436, 452, 456, 468, 488, 492, ...). All seem to be (mostly odd) multiples of 4.
The proportions of '1's, '2's, '3's and '4's among the terms are approximately: 6.5%, 18%, 6.5%, 69%. (Roughly the same values for the first 500 or 5000 terms.) (End)

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] :=a[n] = Block[{k=1, s = Sum[a[i]*x^i, {i, 0, n-1}]}, While[ Union[ IntegerQ /@ CoefficientList[ Series[(s+k*x^n)^(1/4), {x, 0, n}], x]] != {True}, k++ ]; k]; Table[ a[n], {n, 0, 104}] (* Robert G. Wilson v, Jul 26 2005 *)
  • PARI
    A083954_upto(N=99)=vector(N+1, n, if(n>1, for(k=1,4, denominator(polcoeff(sqrtn(O(x^n)+N+=x^(n-1), 4), n-1))>1|| [n=k, break]); n, N=1)) \\ _M. F. Hasler, Jan 27 2025

Extensions

More terms from Robert G. Wilson v, Jul 26 2005

A083948 Integer coefficients of A(x), where 1<=a(n)<=8, such that A(x)^(1/8) consists entirely of integer coefficients.

Original entry on oeis.org

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

Views

Author

Paul D. Hanna, May 09 2003

Keywords

Comments

More generally the sequence, "integer coefficients of A(x), where 1<=a(n)<=m, such that A(x)^(1/m) consists entirely of integer coefficients", appears to have a unique solution for all m. Are these sequences periodic?

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := a[n] = Block[{k = 1, s = Sum[a[i]*x^i, {i, 0, n-1}]}, While[ Union[ IntegerQ /@ CoefficientList[ Series[(s+k*x^n)^(1/8), {x, 0, n}], x]] != {True}, k++ ]; k]; Table[ a[n], {n, 0, 104}] (* Robert G. Wilson v *)

Extensions

More terms from Robert G. Wilson v, Jul 26 2005

A083949 Integer coefficients of A(x), where 1<=a(n)<=9, such that A(x)^(1/9) consists entirely of integer coefficients.

Original entry on oeis.org

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

Views

Author

Paul D. Hanna, May 09 2003

Keywords

Comments

More generally, the sequence, "integer coefficients of A(x), where 1<=a(n)<=m, such that A(x)^(1/m) consists entirely of integer coefficients", appears to have a unique solution for all m. Are these sequences periodic?

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := a[n] = Block[{k = 1, s = Sum[a[i]*x^i, {i, 0, n-1}]}, While[ Union[ IntegerQ /@ CoefficientList[ Series[(s+k*x^n)^(1/9), {x, 0, n}], x]] != {True}, k++ ]; k]; Table[ a[n], {n, 0, 104}] (* Robert G. Wilson v *)

Extensions

More terms from Robert G. Wilson v, Jul 26 2005

A083950 Integer coefficients of A(x), where 1<=a(n)<=10, such that A(x)^(1/10) consists entirely of integer coefficients.

Original entry on oeis.org

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

Views

Author

Paul D. Hanna, May 09 2003

Keywords

Comments

More generally, the sequence, "integer coefficients of A(x), where 1<=a(n)<=m, such that A(x)^(1/m) consists entirely of integer coefficients", appears to have a unique solution for all m. Are these sequences periodic?

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := a[n] = Block[{k = 1, s = Sum[a[i]*x^i, {i, 0, n-1}]}, While[ Union[ IntegerQ /@ CoefficientList[ Series[(s+k*x^n)^(1/10), {x, 0, n}], x]] != {True}, k++ ]; k]; Table[ a[n], {n, 0, 80}] (* Robert G. Wilson v *)

Extensions

More terms from Robert G. Wilson v, Jul 26 2005
Showing 1-10 of 22 results. Next