1,1

a(n)=A010371(A143617(n)) and A010371(m)<a(n) for m < A143617(n);

{1,2,3,4,5,10} = complement(range of this sequence).

Table of n, a(n) for n=1..71.

Index entries for linear recurrences with constant coefficients, signature (2,-1).

a(n) = n + 6 for n > 4. [Charles R Greathouse IV, Oct 26 2011]

(PARI) a(n)=n+5+(n>4) \\ Charles R Greathouse IV, Oct 26 2011

Sequence in context: A321852 A108613 A081408 * A005050 A309265 A309404

Adjacent sequences: A143613 A143614 A143615 * A143617 A143618 A143619

nonn,easy

Reinhard Zumkeller, Aug 27 2008

approved