The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A280041 Solutions to the congruence 1^n+2^n+...+n^n == 19 (mod n). 11
1, 2, 6, 19, 38, 114, 798, 34314 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
M. A. Alekseyev, J. M. Grau, A. M. Oller-Marcen. Computing solutions to the congruence 1^n + 2^n + ... + n^n == p (mod n). Discrete Applied Mathematics, 2018. doi:10.1016/j.dam.2018.05.022 arXiv:1602.02407 [math.NT]
MATHEMATICA
f[n_] := Mod[Sum[PowerMod[k, n, n], {k, 1, n}] - 19, n];
For[n = 1, n < 40000, n++, If[f[n] == 0, Print[n]]] (* Jean-François Alcover, Sep 06 2018 *)
CROSSREFS
Sequence in context: A213400 A282080 A273180 * A058081 A192709 A034533
KEYWORD
nonn,fini,full
AUTHOR
N. J. A. Sloane, Dec 29 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 04:31 EDT 2024. Contains 373140 sequences. (Running on oeis4.)