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.

A004875 Numbers that are the sum of at most 2 nonzero 8th powers.

Original entry on oeis.org

0, 1, 2, 256, 257, 512, 6561, 6562, 6817, 13122, 65536, 65537, 65792, 72097, 131072, 390625, 390626, 390881, 397186, 456161, 781250, 1679616, 1679617, 1679872, 1686177, 1745152, 2070241, 3359232, 5764801, 5764802, 5765057, 5771362, 5830337
Offset: 1

Views

Author

Keywords

Programs

  • PARI
    list(lim)=my(v=List(),x8); for(x=0,sqrtnint(lim\=1,8), x8=x^8; for(y=0,min(sqrtnint(lim-x8,8),x), listput(v, x8+y^8))); Set(v) \\ Charles R Greathouse IV, Aug 22 2017
    
  • PARI
    T=thueinit('z^8+1,1);
    is(n)=#thue(T,n)>0 \\ Charles R Greathouse IV, Aug 23 2017