chandra sekaran on Fri, 11 May 2018 09:05:20 +0200
[
Date Prev
] [
Date Next
] [
Thread Prev
] [
Thread Next
] [
Date Index
] [
Thread Index
]
Any method to find consecutive sequence in integer array?
To
:
pari-users@pari.math.u-bordeaux.fr
Subject
: Any method to find consecutive sequence in integer array?
From
: chandra sekaran <
sekar.bc@gmail.com
>
Date
: Fri, 11 May 2018 12:35:17 +0530
Delivery-date
: Fri, 11 May 2018 09:05:20 +0200
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xoD5yqA/K4NTEF73kSTFZq3RfIps8hgQymIXmuKPltk=; b=b+jNRSsvZWy2hkoGB6yFveQN50vC55bW3PXVF2P35/GtxXAA8EqnQ7SnHZajBhFQv1 Tv3ROzlQXmT1mSefyiE+4R99yaVhZVPsuYUHD9Bz1YkkEq8529gb0PZWj5KerTfYWrvM UZWc6e7MxHnVceCuFDyV+Lb1d7jvykyGaCo2Jt4JaLClFNeCx8UcJLfsojH2fbx8NBZg WGpmCK2yaNkAUBuQP14BkQw3yzugGBur+TjwoXGB1XaS7nk9doFQQeXASBfEHRhS5CIg 9OeE2mTeZgzgyn6b9XLdja4mHuM52O4EpXiArvYf1w14uOesJUBQRU8HYq0dRLNLI4BA 9F5w==
find_consecutive [1,2,3,5,6,9,10,2,3,4]
=> [[1, 2, 3], [5, 6], [9, 10], [2, 3, 4]]
--
B.Chandrasekaran
Follow-Ups
:
Re: Any method to find consecutive sequence in integer array?
From:
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Prev by Date:
Re: forsubset
Next by Date:
Re: Any method to find consecutive sequence in integer array?
Previous by thread:
Re: forsubset
Next by thread:
Re: Any method to find consecutive sequence in integer array?
Index(es):
Date
Thread