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.

A118360 Start with 1; repeatedly reverse the digits when the number is written in binary and add 2 to get the next term.

This page as a plain text file.
%I A118360 #8 May 16 2021 14:07:02
%S A118360 1,3,5,7,9,11,15,17,19,27,29,25,21,23,31,33,35,51,53,45,47,63,65,67,
%T A118360 99,101,85,87,119,121,81,71,115,105,77,91,111,125,97,69,83,103,117,89,
%U A118360 79,123,113,73,75,107,109,93,95,127,129,131,195,197,165,167,231
%N A118360 Start with 1; repeatedly reverse the digits when the number is written in binary and add 2 to get the next term.
%H A118360 Harvey P. Dale, <a href="/A118360/b118360.txt">Table of n, a(n) for n = 1..1000</a>
%H A118360 N. J. A. Sloane and others, <a href="/wiki/Sequences_of_RADD_type">Sequences of RADD type</a>, OEIS wiki.
%e A118360 After 11 = 11_10 = 1011_2 the next term is 1101_2 + 10_2 = 1111_2 = 15_10 = 15.
%t A118360 NestList[FromDigits[Reverse[IntegerDigits[#,2]],2]+2&,1,70] (* _Harvey P. Dale_, May 16 2021 *)
%Y A118360 Cf. A117831, A118828, A118361.
%K A118360 nonn,base
%O A118360 1,2
%A A118360 Jan Nordbotten (Jan.Nordbotten(AT)mi.uib.no), May 16 2006