OFFSET
1,3
COMMENTS
If n is present, then 2n is present also, as shifting binary representation left never produces any carries.
LINKS
EXAMPLE
All primes occur in this sequence as no multiplication -> no need to add any intermediate products -> no carry bits produced.
Composite numbers like 15 are also present, as 15 = 3*5, and when these factors (with binary representations '11' and '101') are multiplied as:
101
1010
----
1111 = 15
we see that the intermediate products 1*5 and 2*5 can be added together without producing any carry-bits (as they have no 1-bits in the same columns/bit-positions), so A048720(3,5) = 3*5 and thus 15 is included in this sequence.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A235034 (MATCHING-POS 1 0 (lambda (n) (or (zero? n) (= n (reduce A048720bi 1 (ifactor n)))))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 02 2014
STATUS
approved