OFFSET
1,1
COMMENTS
6 and 8 are the only even terms: one of the two consecutive even numbers is divisible by 4, and the only multiple of 4 with exactly 4 divisors is 8.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
EXAMPLE
341 is a term since 341 and 343 both have 4 divisors.
MATHEMATICA
SequencePosition[DivisorSigma[0, Range[700]], {4, _, 4}][[All, 1]] (* Harvey P. Dale, Oct 07 2022 *)
PROG
(PARI) isA356742(n) = numdiv(n)==4 && numdiv(n+2)==4
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Aug 25 2022
STATUS
approved