OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 159 terms from Vincenzo Librandi)
FORMULA
a(n) << n^(5/2). - Charles R Greathouse IV, Nov 30 2014
MATHEMATICA
Select[Table[n, {n, 0, 50000}], Length[PowersRepresentations[#, 2, 5]] > 0 &] (* Vladimir Joseph Stephan Orlovsky, Jul 19 2011 *)
PROG
(PARI) T=thueinit('z^5+1); is(n)=n==0 || #select(v->min(v[1], v[2])>=0, thue(T, n))>0 \\ Charles R Greathouse IV, Nov 30 2014
(PARI) is(n)=for(m=sqrtnint(n\2, 5), sqrtnint(n, 5), if(ispower(n-m^5, 5), return(1))); 0 \\ Charles R Greathouse IV, Nov 30 2014
(PARI) list(lim)=my(v=List(), n5); for(n=0, sqrtnint(lim\=1, 5), n5=n^5; for(m=0, min(sqrtnint(lim-n5, 5), n), listput(v, n5+m^5))); Set(v) \\ Charles R Greathouse IV, Nov 30 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved