login
A356743
Numbers k such that k and k+2 both have exactly 6 divisors.
3
18, 50, 242, 243, 423, 475, 603, 637, 722, 845, 925, 1682, 1773, 2007, 2523, 2525, 2527, 3123, 3175, 3177, 4203, 4475, 4525, 4923, 5823, 6725, 6811, 6962, 7299, 7442, 7675, 8425, 8957, 8973, 9457, 9925, 10051, 10082, 10467, 11673, 11709, 12427, 12482, 12591, 13023, 13075
OFFSET
1,1
COMMENTS
If an even number has exactly 6 divisors, then it is of the form 32, 4*p or 2*p^2 for an odd prime p. Note that 4*p + 2 = 2*q^2 is impossible since q^2 - 1 is divisible by 24 for prime q >= 5. As a result, if k is an even term, then it is of the form 2*p^2 such that (p^2+1)/2 is a prime (p is in A048161).
LINKS
EXAMPLE
50 is a term since 50 and 52 both have 6 divisors.
PROG
(PARI) isA356743(n) = numdiv(n)==6 && numdiv(n+2)==6
CROSSREFS
Cf. A048161.
Numbers k such that k and k+2 both have exactly m divisors: A001359 (m=2), A356742 (m=4), this sequence (m=6), A356744 (m=8).
Cf. also A049103 (numbers k such that k and k+1 both have exactly 6 divisors).
Sequence in context: A217750 A180292 A143928 * A074173 A273459 A092068
KEYWORD
nonn
AUTHOR
Jianing Song, Aug 25 2022
STATUS
approved