human
Hexanacci Numbers | Function to print the Nth term of the Hexanacci number.
Initialize first five numbers to base cases.
declare a current variable.
Loop to add previous five numbers for each number starting from 5 and then assign first , second , third , fourth fifth to second , third , fourth , fifth and curr to sixth respectively.
Driver code"
Solution in Python:

Write me a code to hexanacci Numbers and the other steps required?
assistant
#Here is code to hexanacci Numbers and the other steps required.
 def printhexa ( n ) :
	if ( n < 0 ) :
		return
	first = 0
	second = 0
	third = 0
	fourth = 0
	fifth = 0
	sixth = 1
	curr = 0
	if ( n < 6 ) :
		print ( first )
	elif ( n == 6 ) :
		print ( sixth )
	else :
		for i in range ( 6 , n ) :
			curr = first + second + third + fourth + fifth + sixth
			first = second
			second = third
			third = fourth
			fourth = fifth
			fifth = sixth
			sixth = curr
	print ( curr )
n = 11
printhexa ( n )