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!)
A063685 Numbers k such that !k + phi(k) - 1 is prime. 0
2, 3, 4, 5, 11, 20, 85, 212, 4925 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(10) > 5000. - J.W.L. (Jan) Eerland, Nov 19 2022
a(10) > 13469. - J.W.L. (Jan) Eerland, Nov 20 2022
LINKS
MATHEMATICA
n=1; Monitor[Parallelize[While[True, If[PrimeQ[Sum[Factorial[k], {k, 0, n-1}]+EulerPhi[n]-1], Print[n]]; n++]; n], n] (* J.W.L. (Jan) Eerland, Nov 19 2022 *)
PROG
(PARI) f(n) = sum(k=0, n-1, k!); \\ A003422
for(n=1, 10^6, if(isprime(f(n)+eulerphi(n)-1), print(n)))
CROSSREFS
Cf. A003422.
Sequence in context: A118968 A073528 A116067 * A006481 A118597 A083160
KEYWORD
nonn,more
AUTHOR
Jason Earls, Aug 22 2001
EXTENSIONS
a(9) from J.W.L. (Jan) Eerland, Nov 19 2022
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 6 22:30 EDT 2024. Contains 372297 sequences. (Running on oeis4.)