OFFSET
1,1
EXAMPLE
a(1) = 161596 because 161596 is the smallest number in the first set of four consecutive triangular numbers with four prime factors (counted with multiplicity), i.e., (161596 = 2*2*71*569, 162165 = 3*5*19*569, 162735 = 3*5*19*571, 163306 = 2*11*13*571).
MATHEMATICA
t[n_] := n*(n + 1)/2; q[n_] := PrimeOmega[n] == 4; Select[Partition[t /@ Range[35000], 4, 1], AllTrue[#, q] &][[;; , 1]] (* Amiram Eldar, Nov 29 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Shyam Sunder Gupta, Nov 29 2021
STATUS
approved