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

A060464 Numbers that are not congruent to 4 or 5 mod 9.

Original entry on oeis.org

0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 18, 19, 20, 21, 24, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 48, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 69, 70, 71, 72, 73, 74, 75, 78, 79, 80, 81, 82, 83, 84, 87, 88, 89, 90, 91
Offset: 1

Views

Author

N. J. A. Sloane, Apr 10 2001

Keywords

Comments

Conjecture: n is a sum of three cubes iff n is in this sequence.
As of their 2009 paper, Elsenhans and Jahnel did not know of a sum of three cubes that gives 33 or 42.
The problem with 33 is cracked, see links below: 8866128975287528^3 + (-8778405442862239)^3 + (-2736111468807040)^3 = 33. - Alois P. Heinz, Mar 11 2019
Numbers that are congruent to {0, 1, 2, 3, 6, 7, 8} mod 9. - Wesley Ivan Hurt, Jul 21 2016
Heath-Brown conjectures that n is a sum of three cubes in infinitely many ways iff n is in this sequence (and not at all otherwise). See his paper for a conjectural asymptotic. - Charles R Greathouse IV, Mar 12 2019
The problem with 42 is cracked by Andrew Booker from University of Bristol and Andrew Sutherland from Massachusetts Institute of Technology, see the link below: 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3. - Jianing Song, Sep 07 2019
A third solution to writing 3 as a sum of three third powers was found by the same team using 4 million computer-hours. 3 = 569936821221962380720^3 + (-569936821113563493509)^3 + (-472715493453327032)^3. - Peter Luschny, Sep 20 2019

Examples

			30 belongs to this sequence because it has the partition as sum of 3 cubes 30 = (-283059965)^3 + (-2218888517)^3 + (2220422932)^3. - _Artur Jasinski_, Apr 30 2010, edited by _M. F. Hasler_, Nov 10 2015
		

References

  • R. K. Guy, Unsolved Problems in Number Theory, Section D5.
  • Cohen H. 2007. Number Theory Volume I: Tools and Diophantine Equations. Springer Verlag p. 380. - Artur Jasinski, Apr 30 2010

Crossrefs

A156638 is the complement of this sequence.

Programs

  • GAP
    A060464:=Filtered([0..100],n->n mod 9 <>4 and n mod 9 <>5); # Muniru A Asiru, Feb 17 2018
  • Magma
    [n : n in [0..150] | n mod 9 in [0, 1, 2, 3, 6, 7, 8]]; // Wesley Ivan Hurt, Jul 21 2016
    
  • Maple
    for n from 0 to 100 do if n mod 9 <> 4 and n mod 9 <> 5 then printf(`%d,`, n) fi:od:
  • Mathematica
    a = {}; Do[If[(Mod[n, 9] == 4) || (Mod[n, 9] == 5), , AppendTo[a, n]], {n, 1, 300}]; a (* Artur Jasinski, Apr 30 2010 *)
    Which[Mod[#,9]==4,Nothing,Mod[#,9]==5,Nothing,True,#]&/@Range[0,100] (* Harvey P. Dale, Jul 31 2023 *)
  • PARI
    n=-1; for (m=0, 4000, if (m%9!=4 && m%9!=5, write("b060464.txt", n++, " ", m)); if (n==2000, break)) \\ Harry J. Smith, Jul 05 2009
    
  • PARI
    concat(0, Vec(x^2*(x^3+x^2+1)*(x^3+x+1)/((1+x+x^2+x^3+x^4+x^5+x^6)*(x-1)^2) + O(x^100))) \\ Altug Alkan, Nov 06 2015
    
  • PARI
    a(n)=n\7*9+[0, 1, 2, 3, 6, 7, 8][n%7+1] \\ Charles R Greathouse IV, Nov 06 2015
    

Formula

G.f.: x^2*(x^3+x^2+1)*(x^3+x+1) / ( (1+x+x^2+x^3+x^4+x^5+x^6)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
From Wesley Ivan Hurt, Jul 21 2016: (Start)
a(n) = a(n-1) + a(n-7) - a(n-8) for n>8; a(n) = a(n-7) + 9 for n>7.
a(n) = (63*n - 63 + 2*(n mod 7) + 2*((n+1) mod 7) - 12*((n+2) mod 7) + 2*((n+3) mod 7) + 2*((n+4) mod 7) + 2*((n+5) mod 7) + 2*((n+6) mod 7))/49.
a(7k) = 9k-1, a(7k-1) = 9k-2, a(7k-2) = 9k-3, a(7k-3) = 9k-6, a(7k-4) = 9k-7, a(7k-5) = 9k-8, a(7k-6) = 9k-9. (End)

Extensions

More terms from James Sellers, Apr 11 2001

A156638 Numbers k such that k^2 + 2 == 0 (mod 9).

Original entry on oeis.org

4, 5, 13, 14, 22, 23, 31, 32, 40, 41, 49, 50, 58, 59, 67, 68, 76, 77, 85, 86, 94, 95, 103, 104, 112, 113, 121, 122, 130, 131, 139, 140, 148, 149, 157, 158, 166, 167, 175, 176, 184, 185, 193, 194, 202, 203, 211, 212, 220, 221, 229, 230, 238, 239, 247, 248, 256
Offset: 1

Views

Author

Vincenzo Librandi, Feb 12 2009

Keywords

Comments

From Artur Jasinski, Apr 30 2010: (Start)
Numbers congruent to 4 or 5 mod 9.
Numbers which are not the sum of 3 cubes.
Complement to A060464. (End)
Numbers k such that A010888(k^2) = 7. - V.J. Pohjola, Aug 18 2012

References

  • Henri Cohen, Number Theory Volume I: Tools and Diophantine Equations. Springer Verlag (2007) p. 380. - Artur Jasinski, Apr 30 2010

Crossrefs

Programs

Formula

For n > 2, a(n) = a(n-2) + 9.
G.f.: x*(4*x^2 + x + 4)/(x^3 - x^2 - x + 1). - Alexander R. Povolotsky, Feb 15 2009
From R. J. Mathar, Feb 19 2009: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3), n>3.
a(n) = 9*n/2 - 9/4 - 7*(-1)^n/4.
G.f.: x*(4 + x + 4*x^2)/((1 + x)*(1 - x)^2). (End)
a(n) = -a(-n+1). - Bruno Berselli, Jan 08 2012
E.g.f.: 4 + ((18*x - 9)*exp(x) - 7*exp(-x))/4. - David Lovler, Aug 21 2022
Sum_{n>=1} (-1)^(n+1)/a(n) = tan(Pi/18)*Pi/9. - Amiram Eldar, Sep 26 2022
From Amiram Eldar, Nov 22 2024: (Start)
Product_{n>=1} (1 - (-1)^n/a(n)) = 1.
Product_{n>=1} (1 + (-1)^n/a(n)) = 2*cos(Pi/9) - 1 (= A332437 - 1). (End)

A334522 Numbers that are either congruent to +-4 mod 9, or else are cubes or twice cubes.

Original entry on oeis.org

1, 2, 4, 5, 8, 13, 14, 16, 22, 23, 27, 31, 32, 40, 41, 49, 50, 54, 58, 59, 64, 67, 68, 76, 77, 85, 86, 94, 95, 103, 104, 112, 113, 121, 122, 125, 128, 130, 131, 139, 140, 148, 149, 157, 158, 166, 167, 175, 176, 184, 185, 193, 194, 202, 203, 211, 212, 216, 220, 221, 229, 230, 238, 239, 247, 248, 250, 256, 257, 265
Offset: 1

Views

Author

N. J. A. Sloane, May 08 2020

Keywords

Crossrefs

Complement of A334521.
Showing 1-3 of 3 results.