# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

# One to Infinity Series....

Limits 1s, 512 MB

While the English words “sequence” and “series” have similar meanings, in mathematics they are completely different concepts. A sequence is a list of numbers placed in a defined order while a series is the sum of such a list of numbers. There are many kinds of sequences, including those based on infinite lists of numbers. Different sequences and the corresponding series have different properties and can give surprising results.

Sequences and the corresponding series can be based on a fixed number of terms or an infinite number. A finite sequence has a starting number, a difference or factor, and a fixed total number of terms. For example, the first arithmetic sequence above with eight terms would be 1, 3, 5, 7, 9, 11, 13, 15. The first geometric sequence above with six terms would be 2, 4, 8, 16, 32, 64. The corresponding arithmetic series would have a value of 64 and the geometric series 126. Infinite sequences don’t have a fixed number of terms, and their terms can grow to infinity, decrease to zero or approach a fixed value. The corresponding series can also have an infinite, zero or fixed result.

Let’s consider a sequence A1, A2, A3 ,………………, An.

For this problem you have to print the distnict values of A1/A1, A2/A2, …………., An/An separated by a white space in a single line. If the result is undefined, your result should be U.

## Input

No input is needed for this problem.

## Output

A B C D…….

Here A,B,C,D denotes the distnict values of your result.

Problem Setter: Md. Masud Mazumder

Discussion
Statistics

16% Solution Ratio

nishat19Earliest, 3M ago

nishat19Fastest, 0.0s

nishat19Lightest, 0 B

mdvirusShortest, 46B

Submit