login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A330589 The n-th index m such that A330439(m) = n. 2
0, 7, 12, 29, 59, 72, 85, 142, 190, 205, 238, 270, 305, 318, 402, 492, 619, 652, 795, 845, 950, 996, 1121, 1163, 1228, 1393, 1548, 1662, 1756, 1920, 1937, 2106, 2202, 2351, 2448, 2555, 2594, 2707, 2788, 3254, 3420, 3466, 3663, 3974, 4136, 4282, 4363, 4621, 4732 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A330587(n,n).

MAPLE

b:= proc() 0 end:

g:= proc(n) option remember; local t;

      t:= `if`(n<2, n, b(g(n-1))+b(g(n-2)));

      b(t):= b(t)+1; t

    end:

f:= proc(n) option remember; b(g(n)) end:

a:= proc() local a, b, t; a, b, t:= proc() end, proc() 0 end, -1;

      proc(k) local h;

        while b(k)<k do t:= t+1; h:= f(t);

          b(h):= b(h)+1; if b(h)=h then a(h):= t fi

        od: a(k)

      end

    end():

seq(a(n), n=1..50);

CROSSREFS

Main diagonal of A330587.

Cf. A316774, A330439.

Sequence in context: A224699 A078575 A220036 * A197229 A316088 A198306

Adjacent sequences:  A330586 A330587 A330588 * A330590 A330591 A330592

KEYWORD

nonn

AUTHOR

Alois P. Heinz, Dec 18 2019

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 02:29 EDT 2020. Contains 337392 sequences. (Running on oeis4.)