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.

A066133 Numbers that in base 2 need twelve 'Reverse and Add' steps to reach a palindrome.

This page as a plain text file.
%I A066133 #12 Dec 05 2024 21:47:56
%S A066133 1027,1139,1181,1229,1433,1481,1537,1649,1951,1983,1999,2031,2051,
%T A066133 3073,3103,3215,3351,3463,3611,3639,3671,3723,3751,3783,3839,3859,
%U A066133 3971,4087,4103,4121,4141,4187,4237,4269,4327,4331,4333,4361,4427,4603,4625,4645
%N A066133 Numbers that in base 2 need twelve 'Reverse and Add' steps to reach a palindrome.
%C A066133 The analog of A065217 in base 2. The number of steps starts at 0, so palindromes (cf. A006995) are excluded.
%C A066133 Numbers k such that A066057(k) = 12. - _Andrew Howroyd_, Dec 05 2024
%H A066133 Harry J. Smith, <a href="/A066133/b066133.txt">Table of n, a(n) for n=1..1000</a>
%H A066133 <a href="/index/Res#RAA">Index entries for sequences related to Reverse and Add!</a>
%o A066133 (PARI) isok(n,s=12)={for(k=0, s, my(r=fromdigits(Vecrev(binary(n)),2)); if(r==n, return(k==s)); n += r); 0} \\ _Andrew Howroyd_, Dec 05 2024
%Y A066133 Cf. A006995, A065217, A066057, A066122.
%K A066133 base,nonn
%O A066133 1,1
%A A066133 _Klaus Brockhaus_, Dec 08 2001
%E A066133 Offset changed from 0 to 1 by _Harry J. Smith_, Feb 01 2010