Here's a question I've seen here and there in various forms. This is my version
Double me, you get a square. Triple me you get a cube. I am the smallest such. What number am I?
Sometimes it's captions '90% of people can't solve this' or similar. But it's actually not too hard.
If the number we seek is then we want ('double me') to be a square and this can be achieved by making twice a square, say . Then a square as required.
But we also want ('triple me') to be a cube and the smallest value of that makes this work is , and .
And sure enough, and , a square and a cube exactly as we want.
By why stop there? Can the idea be extended? We can't extend the pattern to (I'll put a proof in the Comments tomorrow) but we can make it work with . To see how to do this let's look at the prime factors of our previous example, .
When we multiply this by we get and both exponents are even so this is a square.
When we multiply it by we get and both exponents are multiples of so this is a cube.
Using this idea but now with , and (after a fair bit of working) we find the exponents work in the way we want if we take
You can see that if we multiply this by all the exponents will be divisible by , if by they all divisible by , and if by divisible by , just as we want. This is the smallest number that meets our goal but doesn't look small, here it is all 31 digits, a big jump from the 2 digits of !
6810125783203125000000000000000
We can continue in this way as long as we like: adding gives 233 digits
150462810922326152710290228433686961530697356776074449373600141938371053848189980134027578261857302770024765419887333164323078738017254430529707573248000000000000000000000000000000000000000000000000000000000000000000000000000000000000
and the numbers just continue growing in a super-exponential way. I suppose there must something we could say about the long term behaviour but it's beyond my technical capabilities.
Still I might be able to write up a description and get it into the Online Encyclopedia of Integer Sequences (OEIS). I'll give it a try.
Comments
As promised
If in whole numbers was a square and a fourth power , then we would have
which implies and so we would have , a rational number. But this is impossible because is irrational.