Awsome machine!

I have an awsome machine. Here's how it works.

Input:

  • Enter a positive integer:

  • Apply factorial function to it:

  • Multiply by 4:

  • Add 6:

  • Divide by 2:

Output:

  • Parity of the result: ??

What is the output?

Odd, sometimes Even,sometimes Even, always Odd, always Machine doesn't works

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Let a a be the positive integer input.

Now, the result

= a ! × 4 + 6 2 = \frac{a!\times 4 + 6}{2}

= a ! × 2 + 3 = a! \times 2 + 3 , which is O d d A l w a y s \boxed{Odd} \boxed{Always} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...