human
Second Pentagonal numbers | Function to find N - th term in the series.
Driver code"
Solution in Python:

What is a code to second Pentagonal numbers and the other steps required?
assistant
#Here is code to second Pentagonal numbers and the other steps required.
 def findNthTerm ( n ) :
	print ( n * ( 3 * n + 1 ) // 2 , end = " ▁ " ) ;
N = 4 ;
findNthTerm ( N ) ;