cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A004653 Powers of 2 written in base 14. (Next term contains a non-decimal character.)

This page as a plain text file.
%I A004653 #22 Oct 26 2023 08:41:58
%S A004653 1,2,4,8,12,24,48,92,144,288,532
%N A004653 Powers of 2 written in base 14. (Next term contains a non-decimal character.)
%C A004653 Next term contains a non-decimal character if such characters are chosen to represent digits > 9, where "digit" means the coefficients in N = Sum_{k>=0} d_k * b^k. This isn't possible here, but digits 0, 10, ..., 13 could be represented, e.g., using 00, 10, ..., 40. This would not affect a(0)..a(10), which don't have a digit 0. - _M. F. Hasler_, Jun 25 2018
%t A004653 BaseForm[Table[2^n, {n, 0, 10}], 14] (* _Alonso del Arte_, Mar 18 2005 *)
%o A004653 (PARI) apply( a(n)=fromdigits(digits(2^n,14)), [0..10]) \\ This yields Sum d[k]*10^k where d[k] are the base 14 digits. To get strings possibly containing letters 'A'..'D' replace fromdigits(...) by Strchr(apply(d->48+d+(d>9)*7,...)). - _M. F. Hasler_, Jun 25 2018
%Y A004653 Cf. A000079, A004642, ..., A004655: powers of 2 written in base 10, 2, 3, ..., 16.
%Y A004653 Cf. A000244, A004656, A004658, A004659, ...: powers of 3 in base 10, 2, 4, 5, ...
%K A004653 nonn,base
%O A004653 0,2
%A A004653 _N. J. A. Sloane_