Driver code
$ n = 5 ; echo nthTerm ( $ n ) , " STRNEWLINE " ; $ n = 25 ; echo nthTerm ( $ n ) , " STRNEWLINE " ; $ n = 25000000 ; echo nthTerm ( $ n ) , " STRNEWLINE " ; $ n = 250000007 ; echo nthTerm ( $ n ) , " STRNEWLINE " ; ? >