|
|
REFERENCES
| Letter from the editor, J. Rec. Math., 3 (1970), 40-41.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
|
PROG
| (Haskell)
a002782 n = a002782_list !! (n-1)
a002782_list = f 1 1 (tail a007376_list) where
f x y (d:ds) | mod y x == 0 = y : f y d ds
| otherwise = f x (10*y + d) ds
-- Reinhard Zumkeller, Dec 17 2011
|