喺數論中,有害數係一個正整數,喺二進制之中數字1嘅總數係質數。
第一個有害數係3,因為3 = 112,1 + 1 = 2,係質數。下一個有害數係5,因為5 = 1012,如此類推。
前幾個有害數係:
- 3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 31, 33, 34, 35, 36, 37, 38, 40, 41, 42, 44, 47, 48, 49, 50, 52, 55, 56, 59, 61, 62, 65, 66, 67, 68, 69, 70, 72, 73, 74, 76, 79, 80, 81, 82, 84, 87, 88, 91, 93, 94, 96, 97, 98, 100 ...(OEIS數列A052294)