An exercise for the reader
An exercise for the reader
Take the following two large numbers:
- Apply the Euclidean algorithm to compute .
- Let denote the successive quotients obtained in . Determine .
- Let denote the set of printable ASCII characters and let be the function mapping each integer to the character with that code point. Evaluate the string .
Show solutionHide solution
# use this python oneliner
f=lambda p,q:[p//q]+f(q,p%q)if q else[];print(''.join(map(chr,f(5213436955487338931744369,72398891673349755598314))))