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!)
A309548 Numbers k such that sigma(k)! - 1 is prime, where sigma is A000203. 0

%I #26 May 14 2023 02:33:29

%S 2,3,4,5,6,11,13,21,29,31,37,170,180,214,234,265,362,369,10734,14318,

%T 19679,19876,39636,48784,62517,76225,77277,83629,85519,90649,92287

%N Numbers k such that sigma(k)! - 1 is prime, where sigma is A000203.

%e 2 is a term because sigma(2) = 3. 3! - 1 = 5, a prime.

%e 6 is a term because sigma(6) = 12. 12! - 1 = 479001599, a prime.

%o (SageMath)

%o [n for n in range(1,150) if is_prime(factorial(sigma(n))-1)]

%o (PARI) isok(n) = isprime(sigma(n)!-1); \\ _Michel Marcus_, Aug 07 2019

%Y Cf. A000040, A000203, A002982, A055490, A184388.

%K nonn,more

%O 1,1

%A _Hauke Löffler_, Aug 07 2019

%E a(12)-a(24) from _Daniel Suteu_, Aug 07 2019

%E a(25)-a(31) from _Amiram Eldar_, May 14 2023

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 2 08:27 EDT 2024. Contains 372178 sequences. (Running on oeis4.)