OFFSET
1,2
COMMENTS
Primitive solution is a solution in which not all x_i are 0 (mod p).
This quantity is usually denoted by Gamma(n).
A287286 differs only at n=4: as any 4th power equals 0 or 1 (mod 16) and at least one odd 4th power is needed, 16 odd 4th powers are needed because of 0 (mod 16), but if all-even powers are allowed, 15 is enough.
REFERENCES
G. H. Hardy and J. E. Littlewood, Some problems of `Partito Numerorum', IV, Math. Zeit., 12 (1922), 161-168. [G. H. Hardy, Collected Papers. Vols. 1-, Oxford Univ. Press, 1966-; see vol. 1, p. 466.]
LINKS
Hiroshi Sekigawa and Kenji Koyama, Nonexistence conditions of a solution for the congruence x_1^k + ... + x_s^k = N (mod p^n), Math. Comp. 68 (1999), 1283-1297.
FORMULA
For k > 2:
if k = 2^t, t>1, then a(k) = 4*k = 2^(t+2);
if k = 3*2^t, t>1, then a(k) = 2^(t+2);
if k = p^t*(p-1), where p is an odd prime and t>0, then a(k) = p^(t+1);
if k = p^t*(p-1)/2, then a(k) = (p^(t+1)-1)/2, except when k=p=3;
otherwise, if k = p-1, then a(k) = k+1 = p;
otherwise, if k = (p-1)/2, then a(k) = k = (p-1)/2;
in other cases, 3 < a(k) <= k.
CROSSREFS
KEYWORD
nonn
AUTHOR
Simon Plouffe, Aug 01 1998
EXTENSIONS
More terms and a(30) corrected from the Sekigawa & Koyama paper by Andrey Zabolotskiy, May 31 2017
Edited by Andrey Zabolotskiy, Jun 10 2017
STATUS
approved