A036992 Numbers not in A036990 nor A036991.
6, 9, 14, 17, 22, 25, 26, 28, 30, 33, 35, 37, 38, 41, 46, 49, 54, 57, 58, 60, 62, 65, 67, 69, 70, 73, 78, 81, 86, 89, 90, 92, 94, 97, 99, 101, 102, 105, 106, 108, 110, 113, 114, 116, 118, 120, 121, 122, 124, 126, 129, 131, 133, 134, 135, 137, 139, 141, 142, 145, 147
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
a036992 n = a036992_list !! (n-1) a036992_list = c a036990_list (tail a036991_list) [0..] where c us'@(u:us) vs'@(v:vs) (w:ws) | w == u = c us vs' ws | w == v = c us' vs ws | otherwise = w : c us' vs' ws -- Reinhard Zumkeller, Jul 31 2013
Formula
a(n) ~ n. [Charles R Greathouse IV, Sep 21 2011]
Extensions
More terms from Erich Friedman.
Comments