A382729 Total number of entries in rows 0,1,...,n of Pascal's triangle not divisible by 4.
1, 3, 6, 10, 13, 19, 25, 33, 36, 42, 50, 62, 68, 80, 92, 108, 111, 117, 125, 137, 145, 161, 177, 201, 207, 219, 235, 259, 271, 295, 319, 351, 354, 360, 368, 380, 388, 404, 420, 444, 452, 468, 488, 520, 536, 568, 600, 648, 654, 666, 682, 706, 722, 754, 786, 834, 846, 870, 902, 950, 974, 1022, 1070, 1134, 1137, 1143, 1151
Offset: 0
Keywords
Programs
-
Python
def A382729(n): return 1+sum(bin(m)[2:].count('10')+2<
Chai Wah Wu, Aug 10 2025