A004654 Powers of 2 written in base 15. (Next term contains a non-decimal character.)
1, 2, 4, 8, 11, 22, 44, 88, 121, 242, 484, 918, 1331, 2662
Offset: 0
Crossrefs
Programs
-
PARI
apply( a(n,b=15,m=2)=fromdigits(digits(m^n,b)), [0..13]) \\ This sums the base-15 digits multiplied by powers of 10. Digits > 9 occurring for n >= 14 will carry over to the left (4CC4 -> 5324). - M. F. Hasler, Jun 22 2018
Comments