login
A199424
Index of first row in triangle A199333 containing n-th prime.
3
2, 3, 4, 4, 6, 5, 8, 9, 6, 6, 12, 7, 14, 15, 16, 7, 18, 19, 20, 9, 22, 23, 24, 25, 8, 27, 28, 8, 30, 31, 11, 33, 34, 35, 36, 9, 12, 39, 40, 41, 42, 43, 13, 45, 46, 47, 9, 10, 50, 14, 52, 53, 54, 55, 56, 57, 58, 15, 60, 61, 62, 63, 64, 65, 66, 16, 11, 69, 70
OFFSET
1,1
COMMENTS
a(n) <= n + 1.
LINKS
PROG
(Haskell)
import Data.List (findIndex)
import Data.Maybe (fromJust)
a199424 n = fromJust $ findIndex (elem $ a000040 n) a199333_tabl
CROSSREFS
Sequence in context: A079788 A146288 A244361 * A350634 A184160 A064553
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 09 2011
STATUS
approved