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.

A035522 Reverse and add (in binary) - written in base 10.

This page as a plain text file.
%I A035522 #12 Nov 21 2013 12:46:34
%S A035522 1,2,3,6,9,18,27,54,81,150,255,510,765,1530,2295,6120,6885,12240,
%T A035522 13005,24480,25245,48960,49725,97920,98685,196224,197757,392448,
%U A035522 393981,785664,788733,1571328,1574397,3144192,3150333,6288384
%N A035522 Reverse and add (in binary) - written in base 10.
%H A035522 Harvey P. Dale, <a href="/A035522/b035522.txt">Table of n, a(n) for n = 0..1000</a>
%F A035522 a(n+1) = A055944(a(n)), a(0) = 1. [_Reinhard Zumkeller_, Nov 14 2011]
%e A035522 6 = 110, 110 + 011 = 1001 = 9, so 6 is followed by 9.
%t A035522 nxt[n_]:=Module[{idn2=IntegerDigits[n,2]},FromDigits[idn2+ Reverse[ idn2],2]]; NestList[nxt,1,40] (* _Harvey P. Dale_, Oct 02 2011 *)
%o A035522 (Haskell)
%o A035522 a035522 n = a035522_list !! n
%o A035522 a035522_list = iterate a055944 1
%o A035522 -- _Reinhard Zumkeller_, Oct 21 2011
%Y A035522 Cf. A035526, A035524.
%K A035522 nonn,base,easy,nice
%O A035522 0,2
%A A035522 _N. J. A. Sloane_, E. M. Rains