editing
approved
editing
approved
where f s = m : f (insert z (10 * m + div (mod m 100) 10) s')
where z = 10 * m + div (mod m 100) 10
where (m, s') = deleteFindMin s
approved
editing
editing
approved
a046075_list = f $ fromList $ [10..99] \\ [11, 22, 33, 44, 55, 66, 77, 88, 99]
a046075_list = f $ fromList
[100 * a + 10 * b + a | a <- [1..9], b <- [0..9], b /= a]
where f s | = m < 100 = : f (insert (m * 10 + h) z s')
| otherwise = m : f (insert (m * 10 + h) s')
where h z = 10 * m + div (mod m 100) 10
(m, s') = deleteFindMin s
-- Reinhard Zumkeller, Apr 29 2015, May 01 2012
Cf. A252664.
approved
editing
proposed
approved
editing
proposed
_Reinhard Zumkeller_, , <a href="/A046075/b046075.txt">Table of n, a(n) for n = 1..10000</a>
_Reinhard Zumkeller, _, <a href="/A046075/b046075.txt">Table of n, a(n) for n = 1..10000</a>
C. A. Pickover, "Wonders of Numbers, Adventures in Mathematics, Mind and Meaning," <a href="http://www.emis.de/cgizentralblatt-bin/zmenmath.org/ZMATHzmath/en/quick.htmlsearch/?first=1&maxdocs=3&typeq=html&an=:0983