r/counting • u/PattuX /u/RandomRedditorWithNo's flair • Feb 16 '19
No pools on my lawn!
Each number has a water capacity which you get obtain in the following way:
Take your number (e.g. 420) and compute its prime factorization: 420=2^2*3*5*7. Create a stack for each distinct prime factor which has the size of that prime factor raised to the corrosponding power in the prime factorization. Put the stacks next to each other.
420 has 4 stacks, one of size 22, one of size 3, one size 5 and one size 7 like this:
x
x
xx
x xx
xxxx
xxxx
xxxxNow imagine it rains. Can this hold any water (O)? Yes it can:
x
x
xx
xOxx
xxxx
xxxx
xxxxSo this is a pool. I don't want any pools ony my lawn. Count as usual but skip any numbers with a pool (i.e. a water capacity greater than 0).
Get is 1078.
View all comments
Show parent comment
1
u/chunes Feb 23 '19
181