login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A199424 Index of first row in triangle A199333 containing n-th prime. 3

%I #8 Jul 13 2013 12:04:18

%S 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,

%T 30,31,11,33,34,35,36,9,12,39,40,41,42,43,13,45,46,47,9,10,50,14,52,

%U 53,54,55,56,57,58,15,60,61,62,63,64,65,66,16,11,69,70

%N Index of first row in triangle A199333 containing n-th prime.

%C a(n) <= n + 1.

%H Reinhard Zumkeller, <a href="/A199424/b199424.txt">Table of n, a(n) for n = 1..150</a>

%o (Haskell)

%o import Data.List (findIndex)

%o import Data.Maybe (fromJust)

%o a199424 n = fromJust $ findIndex (elem $ a000040 n) a199333_tabl

%Y Cf. A199425, A058084.

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Nov 09 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)