OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..211
Wikipedia, Geometric mean
EXAMPLE
The reversed binary expansion of 11 is (1,1,0,1) and {1,2,4} has integer geometric mean, so 11 is in the sequence.
MATHEMATICA
Select[Range[1000], IntegerQ[GeometricMean[Join@@Position[Reverse[IntegerDigits[#, 2]], 1]]]&]
PROG
(PARI) ok(n)={ispower(prod(i=0, logint(n, 2), if(bittest(n, i), i+1, 1)), hammingweight(n))}
{ for(n=1, 10^7, if(ok(n), print1(n, ", "))) } \\ Andrew Howroyd, Sep 29 2019
CROSSREFS
Partitions with integer geometric mean are A067539.
Subsets with integer geometric mean are A326027.
Factorizations with integer geometric mean are A326028.
Numbers whose binary digit positions have integer mean are A326669.
Numbers whose binary digit positions are relatively prime are A326674.
Numbers whose binary digit positions have integer geometric mean are A326672.
KEYWORD
nonn,base
AUTHOR
Gus Wiseman, Jul 17 2019
STATUS
approved