login

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”).

A247099
Numbers which are the sum or difference of two fifth powers.
2
0, 1, 2, 31, 32, 33, 64, 211, 242, 243, 244, 275, 486, 781, 992, 1023, 1024, 1025, 1056, 1267, 2048, 2101, 2882, 3093, 3124, 3125, 3126, 3157, 3368, 4149, 4651, 6250, 6752, 7533, 7744, 7775, 7776, 7777, 7808, 8019, 8800, 9031, 10901, 13682, 15552, 15783, 15961
OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) << n^(5/2). Can this be improved?
EXAMPLE
31 = 2^5 - 1^5, 32 = 2^5 + 0^5, 33 = 2^5 + 1^5.
MATHEMATICA
Union[Flatten[{Total[#], Abs[#[[2]]-#[[1]]]}&/@Tuples[Range[0, 10]^5, 2]]] (* Harvey P. Dale, Mar 30 2015 *)
PROG
(PARI) T=thueinit('z^5+1);
is(n)=n==0 || #thue(T, n)>0
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved