A212192 Triangular numbers that are the sum of exactly three distinct powers of 2.
21, 28, 276, 1540
Offset: 1
Keywords
Programs
-
Haskell
a212192 n = a212192_list !! (n-1) a212192_list = filter ((== 1) . a010054) a014311_list
-
Mathematica
Select[Accumulate[Range[60]],Total[IntegerDigits[#,2]]==3&] (* Harvey P. Dale, Mar 11 2023 *)
Comments