A242343 Triangular numbers T such that (T+2) is semiprime.
36, 55, 91, 120, 153, 276, 300, 325, 435, 595, 903, 1035, 1225, 1653, 1711, 1891, 2016, 2145, 2485, 2556, 3003, 3240, 3741, 4095, 4465, 4560, 4851, 5253, 5460, 5565, 5995, 6105, 6216, 6441, 6555, 6903, 7021, 7140, 7260, 8001, 8256, 8911, 9045, 9180, 9591, 10585
Offset: 1
Keywords
Examples
a(1) = 36 = 8*(8+1)/2 = 36 + 2 = 38 = 2 * 19 is semiprime. a(2) = 55 = 10*(10+1)/2 = 55 + 2 = 57 = 3 * 19 is semiprime.
Links
- K. D. Bajpai, Table of n, a(n) for n = 1..10000
Programs
-
Maple
with(numtheory): A242343:= proc()local t; t:=x/2*(x+1); if bigomega(t+2)=2 then RETURN (t); fi;end: seq(A242343 (),x=1..200);
-
Mathematica
Select[Table[n/2*(n + 1), {n, 200}], PrimeOmega[# + 2] == 2 &] Select[Accumulate[Range[200]],PrimeOmega[#+2]==2&] (* Harvey P. Dale, Dec 25 2024 *)
Comments