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

A268036 Cubes of the prime factors (with multiplicity) of n add up to n.

Original entry on oeis.org

1096744, 2836295, 4473671462, 23040925705, 13579716377989, 119429556097859
Offset: 1

Views

Author

Jud McCranie, Jan 24 2016

Keywords

Comments

a(1) = A068916(3).
13579716377989 and 119429556097859 are also terms, but it is not known if they are the next ones. - Jud McCranie, Feb 09 2016

Examples

			1096744 = 2^3 * 11^3 * 103 = 2^3+2^3+2^3+11^3+11^3+11^3+103^3.
		

Crossrefs

Cf. A068916, A067688 (a more inclusive sequence), A058041.

Programs

  • PARI
    isok(n) = {my(f = factor(n)); sum(k=1, #f~, f[k,1]^3*f[k, 2]) == n;} \\ Michel Marcus, Feb 09 2016

Extensions

a(5) from Jud McCranie, Feb 13 2016
a(6) from Jud McCranie, Mar 20 2016

A283449 Smallest composite that is not an n-th power, but can be written as the sum of the n-th powers of two or more of its distinct prime factors.

Original entry on oeis.org

870, 378, 107827277891825604, 178101, 594839010, 275223438741, 26584448904822018, 40373802, 420707243066850, 952809806744100
Offset: 2

Views

Author

Felix Fröhlich, Mar 07 2017

Keywords

Comments

a(2)-a(10) are given at the bottom of page 7 of DeKoninck, Luca, 2007.
a(12) <= 2183128876699456840262188163473698588738, a(13)=26036721925607706907290, and a(14)=297558232681902995490. Giovanni Resta, Mar 09 2017

Examples

			For n = 2: 870 = 2 * 3 * 5 * 29 and 2^2 + 5^2 + 29^2 = 870. Since 870 is the smallest number that is not a square and can be written as the sum of squares of some of its distinct prime factors, a(2) = 870.
		

Crossrefs

Programs

  • PARI
    nextrowcomb(rowarr) = my(k=#rowarr, i=0); while(rowarr[k]==1, rowarr[k]=0; i++; k--); while(rowarr[k]==0 && k > 1, k--); if(rowarr[k]==1, rowarr[k]=0; rowarr[k+1]=1; k=k+2; while(i > 0, rowarr[k]=1; k++; i--), for(x=k, k+i, rowarr[x]=1)); rowarr
    a(n) = forcomposite(c=1, , if(!ispower(c, n), my(f=factor(c)[, 1]~, v=vector(#f)); while(1, my(s=0); for(k=1, #v, if(v[k]==1, s=s+f[k]^n)); if(s==c, return(c)); if(vecmin(v)==1, break, v=nextrowcomb(v)))))

Extensions

a(11) from Giovanni Resta, Mar 09 2017
Showing 1-2 of 2 results.