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.

A309763 Numbers that are the sum of 4 nonzero 4th powers in more than one way.

Original entry on oeis.org

259, 2674, 2689, 2754, 2929, 3298, 3969, 4144, 4209, 5074, 6579, 6594, 6659, 6769, 6834, 7203, 7874, 8194, 8979, 9154, 9234, 10113, 10674, 11298, 12673, 12913, 13139, 14674, 14689, 14754, 16563, 16578, 16643, 16818, 17187, 17234, 17299, 17314, 17858, 18963, 19699
Offset: 1

Views

Author

Ilya Gutkovskiy, Aug 15 2019

Keywords

Examples

			259 = 1^4 + 1^4 + 1^4 + 4^4 = 2^4 + 3^4 + 3^4 + 3^4, so 259 is in the sequence.
		

Crossrefs

Programs

  • Maple
    N:= 10^5: # for terms <= N
    V:= Vector(N, datatype=integer[4]):
    for a from 1 while a^4 <= N do
      for b from 1 to a while a^4+b^4 <= N do
        for c from 1 to b while a^4 + b^4+ c^4 <= N do
          for d from 1 to c do
             v:= a^4+b^4+c^4+d^4;
             if v > N then break fi;
             V[v]:= V[v]+1
    od od od od:
    select(i -> V[i]>1, [$1..N]); # Robert Israel, Oct 07 2019
  • Mathematica
    Select[Range@20000, Length@Select[PowersRepresentations[#, 4, 4], ! MemberQ[#, 0] &] > 1 &]