OFFSET
1,1
COMMENTS
Previous name was: Representation of sqrt(2) - 1 by an infinite sequence.
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 A092857.
An example for the inverse mapping is A051006.
It is relatively rich in primes, but cf. A092875.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Ferenc Adorjan, Binary mapping of monotonic sequences and the Aronson function.
MATHEMATICA
PositionIndex[First[RealDigits[Sqrt[2], 2, 200, -1]]][1] (* Paolo Xausa, Sep 01 2024 *)
PROG
(PARI) v=binary(sqrt(2))[2]; for(i=1, #v, if(v[i], print1(i, ", "))) \\ Ralf Stephan, Mar 30 2014
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Ferenc Adorjan (fadorjan(AT)freemail.hu)
EXTENSIONS
New name from Joerg Arndt, Aug 26 2024
STATUS
approved