OFFSET
1,1
COMMENTS
FORMULA
{s such that s = p_1 * q_1 for p_1, q_1 primes, and r=(s^2+1)/2 = p_2 * q_2 for p_2, q_2 primes}.
EXAMPLE
a(1) = 21 because 21 = 3*7 is semiprime, and (21^2+1)/2 = 221 = 13 * 17 is semiprime.
a(2) = 33 because 33 = 3 * 11 is semiprime, and (33^2+1)/2 = 545 = 5 * 109 is semiprime.
a(3) = 55 because 55 = 5 * 11 is semiprime, and (55^2+1)/2 = 1513 = 17 * 89 is semiprime.
PROG
(PARI) is_A176945(n)={ bittest(n, 0) & bigomega(n)==2 & bigomega(1+n^2\2)==2 } \\ M. F. Hasler, Dec 08 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Dec 08 2010
STATUS
approved