##Mathematica, 35 bytes

    Table[n(n+1)/2,{n,12^3}]~MemberQ~#&