OFFSET
1,1
COMMENTS
3721 is the first square entry. Conjecture: sequence is infinite.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
binWt[n_] := DigitCount[n, 2, 1]; seqQ[n_] := PrimeOmega[n] == 2 && PrimeOmega[binWt[n]] == 2; Select[Range[4000], seqQ[#] && seqQ[#+1] &] (* Amiram Eldar, Dec 14 2019 *)
SequencePosition[Table[If[PrimeOmega[n]==PrimeOmega[DigitCount[n, 2, 1]]==2, 1, 0], {n, 4000}], {1, 1}][[All, 1]] (* Harvey P. Dale, Dec 03 2021 *)
PROG
(PARI) issemi(n)=bigomega(n)==2
is(n)=issemi(hammingweight(n))&&issemi(hammingweight(n+1))&&issemi(n)&&issemi(n+1) \\ Charles R Greathouse IV, Mar 28 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jason Earls, Jul 09 2003
STATUS
approved