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!)
A308169 Numbers k such that A023896(k) mod A000203(k) is prime. 2
3, 7, 10, 11, 16, 19, 22, 23, 25, 27, 31, 34, 43, 46, 49, 58, 59, 71, 79, 82, 83, 94, 100, 103, 106, 118, 121, 131, 139, 142, 163, 166, 178, 191, 199, 202, 208, 211, 214, 223, 226, 251, 262, 271, 274, 298, 311, 331, 334, 346, 358, 359, 379, 382, 383, 394, 419, 443, 454, 463, 466, 478, 479, 484 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers k such that (k*A000010(k)/2) mod A000203(k) is prime.
The primes in the sequence are A092109.
The even semiprimes in the sequence are A112774.
LINKS
EXAMPLE
a(3)=10 is in the sequence because A023896(10) mod A000203(10) = 20 mod 6 = 2, and 2 is prime.
MAPLE
select(n -> isprime((n*numtheory:-phi(n)/2) mod numtheory:-sigma(n)), [$2..1000]);
PROG
(PARI) isok(n) = isprime(n*eulerphi(n)/2 % sigma(n)); \\ Michel Marcus, May 15 2019
CROSSREFS
Sequence in context: A213687 A226934 A238506 * A343225 A363245 A276117
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, May 15 2019
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 September 13 20:16 EDT 2024. Contains 375910 sequences. (Running on oeis4.)