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!)
A308721 Locations of the first occurrence of pair (0,n) in the van Eck sequence (A181391). 2

%I #16 Jul 09 2019 03:03:00

%S 0,1,3,20,24,10,30,276,388,81,225,726,2935,1408,7718,5624,5680,85998,

%T 26706,546290,1112929,702575,3425417,10537360,21301906,217230900,

%U 108698091,32381774,846522986,851764846,11692311325,46163898987

%N Locations of the first occurrence of pair (0,n) in the van Eck sequence (A181391).

%C a(33) = 118456929919 and a(34) = 250327022558 but we do not yet know a(32).

%e For a(5)=10, the pair (0,5) first occurs in A181391 at element 10.

%t With[{s = Nest[# /. {{Longest[p___], a_, q___, a_} :> {p, a, q, a, Length[{a, q}]}, {a___} :> {a, 0}} &, {}, 10^3]}, TakeWhile[#, # > -1 &] &@ Array[If[Length@ # == 0, -1, #[[1, 1]] - 1 ] &@ SequencePosition[s, {0, #}] &, Max@ s, 0]] (* _Michael De Vlieger_, Jul 08 2019, after _JungHwan Min_ at A181391 *)

%Y Cf. A181391.

%K sign,more

%O 0,3

%A _Tomas Rokicki_, Jun 19 2019

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 24 19:31 EDT 2024. Contains 371962 sequences. (Running on oeis4.)