A018184 Powers of fifth root of 24 rounded to nearest integer.
1, 2, 4, 7, 13, 24, 45, 86, 162, 305, 576, 1088, 2054, 3877, 7321, 13824, 26102, 49285, 93059, 175713, 331776, 626451, 1182849, 2233427, 4217101, 7962624, 15034828, 28388386, 53602242, 101210414, 191102976
Offset: 0
Keywords
Links
- Chai Wah Wu, Table of n, a(n) for n = 0..1000
Programs
-
Python
from gmpy2 import iroot_rem def A018142(n): i,j = iroot_rem(24**n,5) return int(i) + int(32*j >= 10*i*(4*i*(2*i*(i + 1) + 1) + 1) + 1) # Chai Wah Wu, Aug 18 2016