Skip to content

Instantly share code, notes, and snippets.

#include <stdint.h>
const uint32_t squares[] = {
0ul, 1ul, 4ul, 9ul, 16ul, 25ul, 36ul, 49ul,
64ul, 81ul, 100ul, 121ul, 144ul, 169ul, 196ul, 225ul,
256ul, 289ul, 324ul, 361ul, 400ul, 441ul, 484ul, 529ul,
576ul, 625ul, 676ul, 729ul, 784ul, 841ul, 900ul, 961ul,
1024ul, 1089ul, 1156ul, 1225ul, 1296ul, 1369ul, 1444ul, 1521ul,
1600ul, 1681ul, 1764ul, 1849ul, 1936ul, 2025ul, 2116ul, 2209ul,
2304ul, 2401ul, 2500ul, 2601ul, 2704ul, 2809ul, 2916ul, 3025ul,