ROSECODE 252
Complex Base 1
A complex integer is a number where p and q are integers.
It can be proved that every complex integer has a unique representation in base with 'digits' 0 or 1.
For instance, we have:
Actually, 6 is the smallest natural integer whose representation contains 6 digits to '1'
Let's define the function R(n) for an natural integer n as follow: consider the digits of n in base as the binary representation of an integer.
Thus:
R(2) = 12
R(6) = 476
Find the smallest integer a, whose representation contains 60 digits
Find the smallest integer b, whose representation contains 93 digits to '1'
Answer format: a,R(a),b,R(b)
[My timing: instant]
It can be proved that every complex integer has a unique representation in base
For instance, we have:
Actually, 6 is the smallest natural integer whose representation contains 6 digits to '1'
Let's define the function R(n) for an natural integer n as follow: consider the digits of n in base
Thus:
R(2) = 12
R(6) = 476
Find the smallest integer a, whose representation contains 60 digits
Find the smallest integer b, whose representation contains 93 digits to '1'
Answer format: a,R(a),b,R(b)
[My timing: instant]