OFFSET
1,2
COMMENTS
This sequence is a variant of A306869.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..16384
Rémy Sigrist, PARI program for A306874
FORMULA
A087116(a(n) OR a(n+1)) = 1.
EXAMPLE
The first terms, alongside the binary representation of a(n) OR a(n+1), are:
n a(n) bin(a(n) OR a(n+1))
-- ---- -------------------
1 1 101
2 4 110
3 2 110
4 6 1110
5 8 1011
6 3 1011
7 9 1101
8 5 1101
9 12 1110
10 10 1011
11 11 11011
12 16 10111
13 7 10111
14 17 11101
15 13 11101
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Mar 14 2019
STATUS
approved