OFFSET
1,2
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
EXAMPLE
20 = 2*2*5 has 0 primes of type 3m+1 (A002476) and 3 primes of type 3m-1 (A003627) in its prime factorization, and as 0 and 3 are both multiples of 3, 20 is included as a term.
21952 = 2^6 * 7^3 is a term because there are 3 primes of type 3m+1 and 6 primes of type 3m-1, and as 6 and 3 are both multiples of 3, 21952 is included as a term.
PROG
(PARI) isA373597 = A373596;
CROSSREFS
Subsequence of the sequences A369659, A369644, A327863, A289142, A373385, and some of their intersections: A373473, A373475, A373478, A373492, A373494.
Differs from A373492 for the first time at n=91, where a(91) = 1325, which skips the value A373492(91) = 1323 present in A373492.
Cf. also A046337 (roughly analogous sequence for k=2, instead of k=3).
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 10 2024
STATUS
approved