9/30/17

number 24

Code: PU   
P=100 (k=76=4 (mod 24) )
Formulae:
Number N is divisible by 24 iff 4*b+a is divisible by 24

Example:
Number N = 98 76 54 32 16 = 2 4 6 8 16 =
4(2 4 6 8)+16 =
4(4(2 4 6+8)+16 =
4(4(4(2 4+6)+8)+16 =
4(4(4(4*2+4)+6)+8)+16 =
4(4(4* 12+6)+8)+16 =
4(4*    6+8)+16 =
4*      8+16 = 0 (mod 24)
is divisible by 24.



Code: CR PU 
P=25 (k=1)
Formulae:
Number N is divisible by 24 iff sum of digits is divisible by 24

Example:
Number N = 68928 with base P=10
Conversion to base P=25 is in next post number 25
number is 4 10 7 3 with base 5^2 = 25 Formulae is: 4+10+7+3 = 24
so number N is divisible by 24