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!)
A123438 Numbers n such that the denominator of n!/!n (= A000142(n)/A000166(n)) is prime. 0
4, 5, 6, 7, 10, 11, 15, 16, 34, 44, 63, 66, 168, 427, 575, 928, 1094, 1218, 1363, 1713 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
That is, numbers n such that A053557(n) is prime. - Michel Marcus, Aug 28 2013
LINKS
MATHEMATICA
a[n_] := Sum[(-1)^k/k!, {k, 0, n}]; Select[Range[100], PrimeQ[Numerator[a[#]]] &] (* G. C. Greubel, Oct 31 2017 *)
PROG
(PARI) isok(n) = isprime(numerator(sum(k=0, n, (-1)^k/k!))); \\ Michel Marcus, Aug 28 2013
CROSSREFS
Sequence in context: A172999 A354489 A284371 * A039024 A065028 A107756
KEYWORD
nonn,more
AUTHOR
Ed Pegg Jr, Jul 11 2008
EXTENSIONS
a(16)-a(20) from G. C. Greubel, Nov 01 2017
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 13:30 EDT 2024. Contains 371957 sequences. (Running on oeis4.)