MANMOHAN LOVES PATTERNS- II
Help Manmohan to print pattern of a given number. See the output pattern for given input n = 5.
Input Format:
Single integer N denoting number of lines of the pattern.
Constraints:
N<=1000
Output Format
Pattern.
Sample Input
5
Sample Output
1
11
202
3003
40004
what is the logic in this pattern?