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.

A063274 Number of powerful numbers (definition 1) required to sum to n.

Original entry on oeis.org

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

Views

Author

Jud McCranie, Jul 13 2001

Keywords

Comments

Heath-Brown proves that a(n) <= 3 for all large n. It seems that n > 119 suffices. - Charles R Greathouse IV, Nov 19 2012

Examples

			The powerful numbers (A001694) start 1,4,8,9,... 11=1+1+9 and is not the sum of fewer terms, so a(11)=3.
		

References

  • D. R. Heath-Brown, Ternary quadratic forms and sums of three square-full numbers, Séminaire de Théorie des Nombres, Paris 1986-87, pp. 137-163; Progr. Math., 75, Birkhäuser Boston, Boston, MA, 1988.

Crossrefs

Programs

  • PARI
    W=vector(99); W[1]=1; for(n=2,#W, if(ispowerful(n), W[n]=1; next); b=n; for(i=1,n\2, b=min(b,W[i]+W[n-i])); W[n]=b); W \\ Charles R Greathouse IV, Nov 19 2012