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”).
%I #15 Sep 17 2024 12:34:17
%S 1,8,10,11,18,24,39,42,80,81,88,93,100,101,108,110,111,118,124,139,
%T 142,180,181,188,193,204,214,222,240,241,248,284,309,319,333,389,390,
%U 391,398,402,412,420,421,428,444,469,482,496,555,649,666,694,777,800,801
%N Numbers the product of whose nonzero digits is a cube.
%H Harry J. Smith, <a href="/A062372/b062372.txt">Table of n, a(n) for n = 1..1000</a>
%e 142 is a member as 1*4*2 = 8 is a cube. 180 is also a member as 1*8 = 8.
%o (PARI) ok(k)={my(d=digits(k)); ispower(prod(i=1, #d, if(d[i], d[i], 1)), 3)} \\ _Andrew Howroyd_, Jun 29 2018
%Y Cf. A062371.
%K nonn,base,easy
%O 1,2
%A _Amarnath Murthy_, Jun 26 2001
%E Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jul 06 2001
%E Offset changed by _Andrew Howroyd_, Sep 17 2024