login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Index of first row of triangle A103284 containing n.
2

%I #7 Nov 19 2015 16:39:30

%S 0,2,3,4,4,5,5,9,5,11,6,13,6,7,16,6,18,7,20,7,22,23,24,7,26,27,9,29,7,

%T 8,32,33,34,8,10,37,38,8,40,41,42,43,44,8,46,47,48,49,9,51,52,53,8,12,

%U 56,57,58,59,9,61,62,63,64,9,13,67,68,69,70,71,72

%N Index of first row of triangle A103284 containing n.

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

%H Reinhard Zumkeller, <a href="/A257646/b257646.txt">Table of n, a(n) for n = 1..1000</a>

%o (Haskell)

%o import Data.List (findIndex); import Data.Maybe (fromJust)

%o a257646 n = fromJust $ findIndex (elem n) a103284_tabl

%Y Cf. A103284, A058084.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Nov 19 2015