OFFSET
1,1
COMMENTS
Are all terms even?
Not all terms are even. In the first 200 terms, three are odd: 82485, 91665, and 337365. - Harvey P. Dale, Feb 16 2014
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..200
MATHEMATICA
nsQ[n_]:=Length[NestWhileList[If[EvenQ[#], #/2, 3#+1]&, n, #!=1&]]-1 == DivisorSigma[ 0, n]; Select[Range[50000], nsQ] (* Harvey P. Dale, Feb 15 2014 *)
PROG
(PARI) for(n=1, 40000, s=n; t=0; while(s!=1, t++; if(s%2==0, s=s/2, s=3*s+1); if(s==if(numdiv(n)-t, 0, 1), print1(n, ", "); ); ))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre and Boris Gourevitch (boris(AT)pi314.net), May 17 2002
EXTENSIONS
Corrected and extended by Harvey P. Dale, Feb 15 2014
STATUS
approved