A131138 a(n)=log_3(A131137(n)).
0, 1, 2, 3, 3, 4, 5, 5, 6, 7, 6, 7, 8, 8, 9, 10, 10, 11, 12, 11, 12, 13, 13, 14, 15, 15, 16, 17, 15, 16, 17, 17, 18, 19, 19, 20, 21, 20, 21, 22, 22, 23, 24, 24, 25, 26, 25, 26, 27, 27, 28, 29, 29, 30, 31, 29, 30, 31, 31, 32, 33, 33, 34, 35, 34, 35, 36, 36
Offset: 0
Programs
-
PARI
a(n)=if(n<4,n,valuation(denominator(polylog(1-n,1/4)/4),3)) \\ Charles R Greathouse IV, Jul 15 2014