Question 1105590
If the cards were to be flipped only once, only the card with the number 1 would end face down. All the other cards would end up face up, the last one flipped being the one with the number 47. However, that would not be an interesting problem.
 
If multiple flips per card were allowed, the card with number 4 would be flipped face up with all the even number cards, but would get re-flipped to end face down when all the cards with numbers divisible by 4 were flipped. On the other hand, the cards with numbers 8 and 32 would be flipped an odd number of times and would end up face up.
So, which cards would end up face down?
The ones with numbers that have an even number of divisors greater than 1,
or in other words, the ones with an odd number of divisors.
How do we figure the number of divisors for a number?
We look at the prime factorization of the number, such as
{{{2^3=8}}} , {{{2*3=6}}} , {{{2*3*7=42}}} , or {{{2^2*3^2=36}}}
The number 1 has just 1 divisor, and that divisor is 1.
All other numbers up to 50 would have at most 3 different prime factors, because {{{2*3*5*7=210>50}}} .
They would have a prime factorization of the form
{{{p[1]^a}}} , with a total of {{{a+1}}} divisors,
all of the form {{{p[1]^n}}} with {{{n}}} an integer from {{{0}}} to {{{a}}} ,
or {{{p[1]^a*p[2]^b}}} , with {{{(a+1)(b+1)}}} divisors,
or {{{p[1]^a*p[2]^b*p[3]^c}}} , with {{{(a+1)(b+1)(c+1)}}} divisors.
For the number of divisors to be an odd number, all the exponents should be even numbers.
In the numbers up to 50, that only happens for
{{{2^2=4}}} , {{{2^4=16}}} ,
{{{3^2=9}}} , {{{5^2=25}}} , {{{7^2=49}}} ,
and {{{2^2*3^2=36}}} .
The cards with those 5 numbers, and the card with number 1,
a total of {{{5+1=highlight(6)}}} cards, would end up face down.