Thabit Numbers

There are 29 Thabit numbers that are less than one billion. Nine of these 29 Thabit numbers had nBABs when this collection was created on 7 January 2017. It was decided to create this nBAB collection when a nBAB was created for the number 383 on 2 January 2017. 767 was the smallest Thabit number that didn't have a nBAB on 7 January 2017.

A Thabit number is an integer of the form is an integer of the form 3 * 2^n - 1 for integers n ≥ 0.

2, 5, 11, 23, 47, 95, 191, 383, 767, 1535, 3071, 6143, 12287, 24575, 49151, 98303, 196607, 393215, 786431, 1572863, 3145727, 6291455, 12582911, 25165823, 50331647, 100663295, 201326591, 402653183, 805306367,

This C++ program prints the Thabit integer sequence and checks if a number is a Thabit number.


Creator: Gerald Thurman [gthurman@gmail.com]
Created: 07 January 2017

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.