OFFSET
0,3
COMMENTS
Conjecture: a(n) > 0.
LINKS
Kevin Ryde, Table of n, a(n) for n = 0..75
Kevin Ryde, C Code
EXAMPLE
For n=2, 2697 is the least integer k such that wt(k^2) >= wt(k) * 3, therefore a(2)=2697.
For n=4, 266245 is the least integer k such that wt(k^4) >= wt(k) * 10, therefore a(4)=266245.
PROG
(PARI) a(n) = my(k=1, t=n*(n+1)/2); while (hammingweight(k^n) < hammingweight(k)*t, k++); k; \\ Michel Marcus, Oct 03 2025
(Python)
from itertools import count
def A389280(n): return next(k for k in count(1) if (k**n).bit_count()>=k.bit_count()*(n*(n+1)>>1)) # Chai Wah Wu, Oct 10 2025
(C) /* See links. */
CROSSREFS
KEYWORD
nonn,base,hard
AUTHOR
Alex Ratushnyak, Sep 28 2025
EXTENSIONS
a(12) from Chai Wah Wu, Oct 21 2025
a(13) onward from Kevin Ryde, Oct 24 2025
STATUS
approved
