OFFSET
1,7
COMMENTS
This sequence has similarities with A317420.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..50000
Rémy Sigrist, Scatterplot of the first 10000000 terms
Rémy Sigrist, Colored scatterplot of the first 10000000 terms (where the color is function of the 2-adic valuation of n (A001511))
Rémy Sigrist, Colored scatterplot of the first 10000000 terms (where the color is function of A000265(n) mod 16)
Rémy Sigrist, C++ program for A317922
EXAMPLE
For n = 5:
- a(5-1) AND a(5-2) = 0 AND 1 = 0 = a(5-1),
- a(5-2) AND a(5-4) = 1 AND 0 = 0 <> a(5-2),
- hence a(5) = 1.
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Aug 11 2018
STATUS
approved