OFFSET
1,1
EXAMPLE
82 is in the sequence since 82 = 1^4 + 3^4.
626 is in the sequence since 626 = 1^4 + 5^4.
MATHEMATICA
Quiet@Select[Range@60000, !Equal@@(a=First@PowersRepresentations[#, 2, 4])&&And@@OddQ@a&] (* Giorgos Kalogeropoulos, Apr 24 2021 *)
Union[Total/@Subsets[Range[1, 19, 2]^4, {2}]] (* Harvey P. Dale, Jan 24 2022 *)
PROG
(Python)
def aupto(limit):
ofps = [i**4 for i in range(1, int(limit**.25)+2, 2) if i**4 < limit]
ss = set(f+g for i, f in enumerate(ofps) for g in ofps[i+1:])
return sorted(s for s in ss if s <= limit)
print(aupto(132722)) # Michael S. Branicky, Apr 24 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 20 2021
EXTENSIONS
More terms from Jon E. Schoenfield, Apr 20 2021
STATUS
approved