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!)
A156559 Primes of the form Sum_{k=1..m} (m^k mod (m-k+1)). 3
5, 7, 11, 31, 61, 73, 79, 149, 251, 257, 373, 439, 769, 839, 859, 1031, 1637, 1747, 3079, 3877, 3907, 4831, 5843, 6343, 7177, 7537, 8111, 8669, 9059, 10739, 11423, 12113, 12959, 12967, 13033, 13309, 13679, 13879, 16249, 16453, 21169, 21683, 23593, 23789, 26393 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
P:=proc(i) local a, n; for n from 0 by 1 to i do a:=sum('(n^k mod (n-k+1))', 'k'=1..n); if isprime(a) then print(a); fi; od; end: P(500);
CROSSREFS
Sequence in context: A259564 A308764 A288609 * A018426 A038976 A363673
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Offset changed to 1 by Jinyuan Wang, Aug 02 2021
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)