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!)
A242924 Position of first occurrence of n in A242923. 1
1, 2, 4, 8, 12, 66, 24, 34, 233, 251, 284, 173, 104, 299, 329, 431, 596, 625, 528, 1052, 759, 349, 667, 1028, 793, 436, 1242, 1882, 1410, 1374, 4974, 1181, 3626, 3517, 3673, 3148, 4398, 6160, 5537, 4254, 5512, 7039, 4074, 2194, 10206, 11361, 4154, 12710, 7559 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Not currently known to be finite for all n.

LINKS

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

MAPLE

b:= proc(n) option remember; local i, t, ok;

      if n<2 then n

    else for t from 1 +b(n-1) do ok:=true;

           for i to n/2 while ok

             do ok:= b(n-2*i)+t <> 2*b(n-i) od;

           if ok then return t fi

         od

      fi

    end:

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

      proc(n) local h;

        while a(n) = 0 do

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

          if a(h) = 0 then a(h):= t fi

        od; a(n)

      end

    end():

seq(a(n), n=1..30);  # Alois P. Heinz, May 26 2014

CROSSREFS

Cf. A242921, A242923.

Sequence in context: A215825 A177268 A289085 * A133802 A076202 A268713

Adjacent sequences:  A242921 A242922 A242923 * A242925 A242926 A242927

KEYWORD

nonn

AUTHOR

Jeffrey Shallit, May 26 2014

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 August 12 07:38 EDT 2020. Contains 336438 sequences. (Running on oeis4.)