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.

A031143 Position of rightmost 0 (including leading 0) in 2^A031142(n).

This page as a plain text file.
%I A031143 #35 Oct 11 2019 22:45:23
%S A031143 1,2,3,4,5,6,8,9,10,11,12,15,16,21,22,23,24,25,26,36,38,54,57,59,93,
%T A031143 115,119,120,121,136,138,164,174,176,191,196,212,217,227,233,249,250,
%U A031143 260,268,275,308
%N A031143 Position of rightmost 0 (including leading 0) in 2^A031142(n).
%C A031143 "Positions" are counted 0,1,2,3,... starting with the least significant digit.
%t A031143 best = 0; lst = {};
%t A031143 x = Select[Range[0, 10000],
%t A031143   If[(t = First@
%t A031143         First@StringPosition[StringReverse@("0" <> ToString@(2^#)),
%t A031143           "0"]) > best, best = t; AppendTo[lst, t - 1]; True] &] ; lst (* _Robert Price_, Oct 11 2019 *)
%Y A031143 Cf. A031140, A031141, A031142, A031143.
%K A031143 nonn
%O A031143 1,2
%A A031143 _Matthew Cook_, _Dan Hoey_, _Eric W. Weisstein_, _David W. Wilson_
%E A031143 More terms from _Dan Hoey_
%E A031143 a(42)-a(44) from _Alan Griffiths_, Jan 25 2012
%E A031143 a(45) from _Alan Griffiths_, Feb 01 2012
%E A031143 a(46) from _Alan Griffiths_, Mar 09 2012