%I #13 Oct 30 2017 10:27:34
%S 0,1,2,3,4,5,6,7,8,9,10,11,12,16,17,18,19,20,21,22,23,24,25,26,27,32,
%T 33,34,35,36,37,38,39,40,41,42,48,49,50,51,52,53,54,55,56,57,64,65,66,
%U 67,68,69,70,71,72,80,81,82
%N Numbers that are the sum of at most 12 nonzero 4th powers.
%H T. D. Noe, <a href="/A004841/b004841.txt">Table of n, a(n) for n=1..1000</a>
%t Reap[For[n = 0, n < 100, n++, If[MatchQ[PowersRepresentations[n, 12, 4], {Table[_, 12], ___}], Print[n]; Sow[n]]]][[2, 1]] (* _Jean-François Alcover_, Oct 30 2017 *)
%K nonn
%O 1,3
%A _N. J. A. Sloane_
|