a(n) = smallest m such that wt(m^2) = n (where wt(i) = A000120(i)), or -1 if no such m exists.

A231897

a(n) = smallest m such that wt(m^2) = n (where wt(i) = A000120(i)), or -1 if no such m exists.

Terms

    a(0) =0a(1) =1a(2) =3a(3) =5a(4) =13a(5) =11a(6) =21a(7) =39a(8) =45a(9) =75a(10) =155a(11) =217a(12) =331a(13) =181a(14) =627a(15) =923a(16) =1241a(17) =2505a(18) =3915a(19) =5221a(20) =6475a(21) =11309a(22) =15595a(23) =19637a(24) =31595a(25) =44491a(26) =69451a(27) =113447a(28) =185269a(29) =244661

External references