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”).

A257803
Positions of odd numbers in A233271, the infinite trunk of inverted binary beanstalk.
10
1, 4, 7, 9, 12, 17, 18, 21, 23, 24, 25, 27, 30, 34, 35, 38, 41, 42, 49, 52, 53, 54, 55, 57, 60, 64, 65, 68, 70, 73, 74, 75, 76, 77, 81, 82, 83, 90, 93, 95, 96, 103, 106, 107, 108, 109, 111, 114, 118, 119, 122, 127, 128, 131, 132, 134, 136, 137, 138, 139, 140, 145, 147, 148, 149, 150, 151, 155, 156, 157, 164, 167, 168, 171
OFFSET
1,2
LINKS
FORMULA
Other identities:
For all n >= 1, A257807(a(n)) = n. [A257807 works as a left inverse for this injective function.]
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A257803 (MATCHING-POS 1 1 (lambda (n) (odd? (A233271 n)))))
(define A257803 (MATCHING-POS 1 1 (lambda (n) (odd? (A257800 n)))))
CROSSREFS
Complement: A257804.
Sequence in context: A310954 A301692 A310955 * A310956 A310957 A173757
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 12 2015
STATUS
approved