login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A092857
Representation of 1/sqrt(2*Pi) by an infinite sequence.
8
2, 3, 6, 7, 11, 16, 20, 22, 25, 26, 29, 30, 31, 32, 34, 36, 41, 42, 44, 45, 48, 50, 55, 59, 60, 62, 67, 68, 69, 70, 71, 72, 75, 77, 78, 81, 82, 83, 84, 88, 90, 99, 101, 102, 103, 105, 107, 109, 110, 111, 115, 116, 117, 121, 123, 124, 125, 126, 127, 128, 129, 130, 132, 135
OFFSET
1,1
COMMENTS
Any real number in the range (0,1), having infinite number of nonzero binary digits, can be represented by a monotonic infinite sequence, such a way that: n is in the sequence iff the n-th digit in the fraction part of the number is 1. See also A092855.
An example for the inverse mapping is A051006.
PROG
(PARI) {/* mtinv(x)= /*Returns the inverse binary mapping of x into a monotonic sequence */ local(z, v=[], r=[], l); z=frac(x); v=binary(z)[2]; l=matsize(v)[2]; for(i=1, l, if(v[i]==1, r=concat(r, i))); return(r)} }
CROSSREFS
Sequence in context: A179019 A096578 A027754 * A062404 A032875 A032842
KEYWORD
easy,nonn
AUTHOR
Ferenc Adorjan (fadorjan(AT)freemail.hu)
STATUS
approved