OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 1000 terms from T. D. Noe)
EXAMPLE
From David A. Corneth, Aug 04 2020: (Start)
208428902 is in the sequence as 208428902 = 1^11 + 2^11 + 3^11 + 3^11 + 3^11 + 4^11 + 4^11 + 4^11 + 5^11 + 5^11 + 5^11 + 5^11.
562491247 is in the sequence as 562491247 = 2^11 + 2^11 + 2^11 + 2^11 + 2^11 + 3^11 + 4^11 + 5^11 + 5^11 + 5^11 + 5^11 + 6^11.
620052034 is in the sequence as 620052034 = 3^11 + 3^11 + 3^11 + 4^11 + 4^11 + 4^11 + 5^11 + 5^11 + 5^11 + 5^11 + 5^11 + 6^11. (End)
MATHEMATICA
Select[Union[Total[#^11]&/@Tuples[Range[3], {12}]], #<+400000&] (* Harvey P. Dale, Apr 29 2011 *)
PROG
(PARI) A004823_upto(N, n=12, p=11)=my(P=[x^p|x<-[1..sqrtnint(N-n+1, p)]], S=P); while(n--, S=Set(concat([[x+y|y<-S, x+y<=N]|x<-P]))); S \\ M. F. Hasler, Jul 03 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
