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!)
A056983 Primes p which divide Sum_{i=1..m} i! for some m (see A125138). 4
3, 11, 17, 23, 29, 37, 41, 43, 53, 67, 73, 79, 97, 101, 107, 109, 127, 131, 139, 149, 151, 157, 163, 173, 191, 199, 211, 229, 239, 251, 257, 263, 271, 281, 283, 293, 307, 311, 313, 331, 337, 347, 349, 359, 373, 379, 383, 389, 397, 409, 421, 433, 443, 449 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Smarandache-Wagstaff Function.
MAPLE
isA056983 := proc(p)
local idxp ;
if not isprime(p) then
return false ;
end if;
idxp := numtheory[pi](p) ;
if A125138(idxp) > 0 then
true ;
else
false ;
end if;
end proc:
A056983 := proc(n)
option remember ;
local p;
if n = 1 then
3;
else
p := procname(n-1) ;
while true do
p := nextprime(p) ;
if isA056983(p) then
return p;
end if;
end do:
end if;
end proc:
seq(A056983(n), n=1..70) ; # R. J. Mathar, Mar 26 2024
CROSSREFS
Sequence in context: A057179 A322962 A075334 * A175073 A062284 A141339
KEYWORD
nonn
AUTHOR
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 May 13 00:07 EDT 2024. Contains 372497 sequences. (Running on oeis4.)