OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..563 (terms < 10^19, first 75 terms from Reinhard Zumkeller, terms 76..151 from Max Alekseyev)
MATHEMATICA
fQ[n_] := Union@ OddQ@ IntegerDigits[n^3] == {True}; Select[2 Range[3*10^6] - 1, fQ] (* Robert G. Wilson v, Aug 13 2011 *)
Select[Range[12*10^6], AllTrue[IntegerDigits[#^3], OddQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Apr 14 2015 *)
PROG
(Haskell)
import Data.List (intersect)
a030099 n = a030099_list !! (n-1)
a030099_list = filter (null . (intersect "86420") . show . (^ 3)) [1, 3..]
-- Reinhard Zumkeller, Aug 13 2011
CROSSREFS
KEYWORD
nonn,base,nice
AUTHOR
STATUS
approved