# Turing/Questions

From Wikibooks, open books for an open world

< Turing

## Question 1: Fractorials[edit]

A **fractorial** is very similar to a factorial. A fractorial of a n means that 1 to n over that number is a whole number.

For example, 5 fractorial is 60, because 1/60 + 2/60 + 3/60 + 4/60 + 5/60 is a whole number.

Write a program that will find the fractorial of any given number. It should ideally get input from a data file. Sample input will be given, and your program should not take over 2 minutes per result. Solution