40
Not sure how you guys are coming up with 96.
If you continue the sequence, how can you get 40?
There are 2 ways to continue the sequence and you get 96 both ways.
You guys missed my hesitant response to pahick's dramatic and desperate cry for help on 9/17. He knows how to get results. BTW, he's one of the few to identify 52 as an additional sequence solution. And for what it's worth 96 is not necessarily a sequence solution as one way does not depend on the order of the preceding equations like both 40 and 52 do.