The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A064902 Semiprimes p1*p2 such that p2 mod p1 = 4, with p2 > p1. 1
77, 95, 145, 221, 295, 371, 395, 407, 437, 445, 469, 545, 559, 649, 695, 745, 763, 895, 959, 995, 1057, 1133, 1145, 1159, 1195, 1253, 1345, 1351, 1513, 1517, 1679, 1745, 1795, 1841, 1895, 1939, 1945, 2021, 2045, 2095, 2101, 2195, 2245, 2249, 2395, 2429 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Python)
from sympy import factorint
def is_A064902(n):
f = factorint(n)
return (sum([f[i] for i in f]) == 2) and (max(f) % min(f) == 4)
def first_A064902(n):
x = 1
an = []
while len(an) < n:
if is_A064902(x):an.append(x)
n += 2
return an # John Cerkan, Apr 14 2018
(PARI) isok(n) = my(f = factor(n)); (#f~ == 2) && (vecmax(f[, 2]) < 2) && ((f[2, 1] % f[1, 1]) == 4); \\ Michel Marcus, Apr 16 2018
CROSSREFS
Cf. A001358 (p2 mod p1 = 0), A064899-A064911.
Sequence in context: A274172 A061671 A269809 * A247682 A127335 A193570
KEYWORD
nonn
AUTHOR
Patrick De Geest, Oct 13 2001
EXTENSIONS
Offset changed by John Cerkan, Apr 12 2018
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 29 07:06 EDT 2024. Contains 372926 sequences. (Running on oeis4.)