A260025 Convert the last term from decimal to binary! a(1)=4.
4, 100, 1100100, 100001100100101000100, 1010110101111001011010001101011011001100110110011001100101110100100
Offset: 1
Crossrefs
Programs
-
Mathematica
NestList[FromDigits[IntegerDigits[#,2]]&,4,5] (* Harvey P. Dale, Jun 11 2017 *)
-
PARI
a(n) = my(k=4); for(i=2, n, k=fromdigits(binary(k))); k; \\ Jinyuan Wang, Jan 18 2025