Back

Unable to understand series

Created 3 years ago
228 Views
2 Comments
Dakshya
@Dakshya
Dakshya
@DakshyaProfile is locked. Login

Please help me out what pattern is in this series

Sreelatha was confused with series. She is given with a number ‘n’. There is a pattern hidden the series. She has to understand and print  the series till nth number by looking into example.Sreelatha is confused and She hired you , you have to develop the series for sreelatha by observing the pattern from the below example.

Input Description:
She is given with a number ‘n’.

Output Description:
print  the series till nth number

Sample Input :
3
Sample Output :
1 9 36
Comments (2)
Please login to comment.