login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Convert the last term from decimal to binary! a(1)=6.
9

%I #14 Jan 20 2025 00:48:04

%S 6,110,1101110,100001100110100110110,

%T 1010110101111001011010001101011100010111010110010110001101100011110

%N Convert the last term from decimal to binary! a(1)=6.

%o (PARI) a(n) = my(k=6); for(i=2, n, k=fromdigits(binary(k))); k; \\ _Jinyuan Wang_, Jan 18 2025

%Y For initial terms 2 through 12 see A008559, A006938, A260025, A260024, A260026, A260027, A260028, A260029, A008559 (again), A006938 (again), A260030 respectively.

%K nonn,base,changed

%O 1,1

%A _N. J. A. Sloane_, Jul 14 2015