OFFSET
1,2
COMMENTS
Take the decimal number formed by the first n digits of A023396 in reverse order and divide by 2^n.
The sequence A053312 gives n-digit numbers consisting entirely of 1s and 2s which are divisible by 2^n. The quotients upon division form the present sequence. The parity of the n-th term here determines the next term in A023396; if odd, it is a 1 and if even, a 2.
This was set as a problem in the All Union Mathematical Olympiad of 1971 and can be found in the reference cited here.
REFERENCES
J. B. Tabov and P. J. Taylor, Methods of Problem Solving, Book 1, Australian Mathematics Trust, 1996.
LINKS
David A. Corneth, Table of n, a(n) for n = 1..1431 (terms <= 10^1000)
FORMULA
a(n) < 0.3 * 5^n. - David A. Corneth, Jun 11 2020
EXAMPLE
a(4) = A053312(4) / 2^4 = 2112 / 16 = 132. - David A. Corneth, Jun 11 2020
PROG
(Python)
from itertools import count, islice
def A126933_gen(): # generator of terms
a, b = 2, 10
for n in count(1):
a+=b if (c:=a>>n)&1 else b<<1
b *= 10
yield c
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Gerry Leversha, Mar 18 2007
EXTENSIONS
Name changed and other minor edits by Ray Chandler, Jun 17 2020
STATUS
approved