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!)
A346168 Primes p such that p*p! - 1 is prime. 1
2, 3, 5, 7, 11, 397, 599, 2239 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(9) > 10^4.
LINKS
MAPLE
select(p -> isprime(p) and isprime(p*factorial(p) - 1), [$2 .. 600])
MATHEMATICA
Select[Range[2, 600], PrimeQ[#] && PrimeQ[#*#! - 1] &]
PROG
(PARI) a = List(); for(p=2, 600, if(isprime(p) && isprime(p*p!-1), listput(a, p))); a
(Sage) [p for p in range(2, 600) if is_prime(p) and is_prime(p*factorial(p) - 1)]
CROSSREFS
Prime terms of A090704.
Sequence in context: A082625 A030286 A046484 * A062888 A046483 A114835
KEYWORD
nonn,more
AUTHOR
Reza K Ghazi, Jul 08 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 August 27 08:25 EDT 2024. Contains 375462 sequences. (Running on oeis4.)