This function returns the number of digits in nth Fibonacci number after ceiling it Formula used ( n * log ( phi ) - ( log 5 ) / 2 )
static double numberOfDigits ( double n ) { if ( n == 1 ) return 1 ;