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

A329492
a(n) = smallest d such that the sum of digits of 2^d - n is equal to d, or -1 if no such d exists.
3
0, 2, 4, 6, 3, 10, 103, 9, 5, 18
OFFSET
1,2
COMMENTS
The first open case is 11. Is a(11) = -1? See A329493.
If a(i) = m > 0 then A328882 takes the value -i for the first time at term 2^m-i. For example, the first appearance of -7 in A328882 is at term 2^103 - 7.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
N. J. A. Sloane, Nov 16 2019
STATUS
approved