Write a program to generate first n terms of following series 5,16,49,104,181...
Answers
Answered by
0
Answer:
python:
n= int(input("enter how many numbers "))
i =-1
previous = 5
while(I<n):
print( previous + ((i+1) *11), end = ",")
Similar questions