OFFSET
1,1
EXAMPLE
The first 3 semiprimes are {4,6,9} and the first 3 primes are {2,3,5}. The second term in each are {6,3} whose sum is 9, a square. - Robert G. Wilson v
MATHEMATICA
sp = Select[ Range[10^5], Plus @@ Last /@ FactorInteger@ # == 2 &]; s = Select[ Range@Length@sp, IntegerQ[ Sqrt[sp[[ # ]] + Prime@# ]] &]; sp[[s]] + Prime[s]; (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Nov 14 2005
EXTENSIONS
More terms from Robert G. Wilson v, Nov 18 2005
STATUS
approved