OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Module[{upto=100, pwr, f25}, pwr=Ceiling[Log[2, upto]]; f25=Select[ Sort[ Flatten[ Table[Times@@@Union[Sort/@Tuples[{2, 5}, n]], {n, 0, pwr}]]], #<= upto&]; Table[SelectFirst[f25, #>i&], {i, 0, upto-1}]] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, Jan 28 2016 *)
PROG
(R) f <- function(n) nextn(n, factors = c(2, 5))
a <- matrix(1:256, ncol=1)
apply(a, 1, f)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 23 2009
STATUS
approved