A periodic number depends on the base b where we are working. So, for example the number 2/3 in decimal base is periodic(0.666666666) but if we are working in base 3, the same number can be expressed as 2/10, and the result is not periodic (0.2). By this way, it is possible to enunciate:
By this way, you have to find when a number in any base can produce periodics numbers or not, and then find the values less or equal than 100 that in this base will never produce a periodic number.
1208 Solvers
157 Solvers
Compute a dot product of two vectors x and y
646 Solvers
Replace all zeros and NaNs in a matrix with the string 'error'
76 Solvers
29 Solvers
Problem Tags