M denotes the duodecimal (base 12) number 12.
N= MM, P = NN and Q = PP
Find the respective last two digits of P and Q.
*** For an extra challenge, solve this puzzle by using a non-computer program assisted method.
5 open "deuxded2.txt" for output as #2
10 M=14
20 N=modpow(M,M,144)
30 P=modpow(N,N,144)
40 Q=modpow(P,P,144)
50 print #2,"p: ";P\12;P @ 12
60 print #2,"q: ";Q\12;Q @ 12
70 close #2
finds
p: 1 4
q: 1 4
so the last two digits of each of the base-12 numbers p and q are "14".
|
Posted by Charlie
on 2015-03-12 10:56:05 |