Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Dec 05 2024 19:14:00
%S 0,1,2,8,9,16,17,24,27,28,43,64,65,80,81,82,89,108,125,126,141,145,
%T 206,216,217,232,256,257,264,283,297,320,343,344,359,381,424,472,512,
%U 513,528,593,599,625,626,633,652,689,729,730,745,750,768,810,841,968,985,1000
%N Numbers that are the sum of a nonnegative cube and a fourth power of a nonnegative integer.
%H Robert Israel, <a href="/A367984/b367984.txt">Table of n, a(n) for n = 1..10000</a>
%p M:= 10000: # for terms <= M
%p Cubes:= {seq(i^3, i=0..floor(M^(1/3)))}:
%p Fourths:= {seq(i^4, i=0..floor(M^(1/4)))}:
%p sort(convert(select(`<=`,{seq(seq(a+b,a=Cubes),b=Fourths)},M),list)); # _Robert Israel_, Dec 05 2024
%Y Cf. A000578, A000583, A022549, A100291.
%K nonn,changed
%O 1,3
%A _Ilya Gutkovskiy_, Dec 07 2023