Artists

We have a list of albums from different artists. We need to find at least one triplet where the release times are equally apart. The triplets must be returned as a list, only the ids, in the chronological order, from the oldest to the newest.
For example, for this list
let artists = [
  { "id": "9306c8909e", "name": "Party with guns", "artist": "Thundermother", "releaseYear": 1978 },
  { "id": "49baca3524", "name": "Riot avenue", "artist": "Beautiful Creatures", "releaseYear": 1994 },
  { "id": "df81cca436", "name": "Party with guns", "artist": "Mississippi Bones", "releaseYear": 1956 },
  { "id": "e493993b85", "name": "Ritual", "artist": "Guns'n'Roses", "releaseYear": 1975 },
  { "id": "6c3d54d7b7", "name": "Riot avenue", "artist": "Guns'n'Roses", "releaseYear": 1976 },
  { "id": "4ca1171c2a", "name": "Suffer", "artist": "Alice Cooper", "releaseYear": 1972 },
  { "id": "4545889c17", "name": "Riot avenue", "artist": "Mississippi Bones", "releaseYear": 1959 },
  { "id": "8e91ad9f84", "name": "Psycho circus", "artist": "Monster Magnet", "releaseYear": 2007 },
  { "id": "7870c65cd3", "name": "Capricorn", "artist": "Smokey Fingers", "releaseYear": 2002 },
  { "id": "10ac1f6271", "name": "Deuce", "artist": "Monster Magnet", "releaseYear": 2004 }
]
artists = [
  { "id": "9306c8909e", "name": "Party with guns", "artist": "Thundermother", "release_year": 1978 },
  { "id": "49baca3524", "name": "Riot avenue", "artist": "Beautiful Creatures", "release_year": 1994 },
  { "id": "df81cca436", "name": "Party with guns", "artist": "Mississippi Bones", "release_year": 1956 },
  { "id": "e493993b85", "name": "Ritual", "artist": "Guns'n'Roses", "release_year": 1975 },
  { "id": "6c3d54d7b7", "name": "Riot avenue", "artist": "Guns'n'Roses", "release_year": 1976 },
  { "id": "4ca1171c2a", "name": "Suffer", "artist": "Alice Cooper", "release_year": 1972 },
  { "id": "4545889c17", "name": "Riot avenue", "artist": "Mississippi Bones", "release_year": 1959 },
  { "id": "8e91ad9f84", "name": "Psycho circus", "artist": "Monster Magnet", "release_year": 2007 },
  { "id": "7870c65cd3", "name": "Capricorn", "artist": "Smokey Fingers", "release_year": 2002 },
  { "id": "10ac1f6271", "name": "Deuce", "artist": "Monster Magnet", "release_year": 2004 }
]
We need to find and return either [0, 3, 5] (1978 - 1975 - 1972), exactly 3 years between each of them).

Remember when I said that only one is enough? Well, actually we need all of them. So, we need to find a way to return all the possible combinations at once.

The first example has only one solution, so here is another input, but this time it has 8 possible solutions:

[(0, 1, 8), (0, 2, 8), (0, 3, 8), (0, 4, 8), (0, 5, 8), (0, 6, 8), (0, 7, 8), (3, 7, 9)]
let artists = [
  {
    "id": "d65a341435",
    "name": "Riot avenue",
    "artist": "Beautiful Creatures",
    "releaseYear": 1975
  },
  {
    "id": "8b781b242e",
    "name": "Shock",
    "artist": "Monster Magnet",
    "releaseYear": 1956
  },
  {
    "id": "d27116b4eb",
    "name": "Riot avenue",
    "artist": "Beautiful Creatures",
    "releaseYear": 1955
  },
  {
    "id": "fa99283e70",
    "name": "Ritual",
    "artist": "Beautiful Creatures",
    "releaseYear": 1976
  },
  {
    "id": "606e16a1ac",
    "name": "Ritual",
    "artist": "Guns'n'Roses",
    "releaseYear": 1987
  },
  {
    "id": "11f41d49b6",
    "name": "Almost human",
    "artist": "Monster Magnet",
    "releaseYear": 1979
  },
  {
    "id": "cd7a21109b",
    "name": "Ritual",
    "artist": "Thundermother",
    "releaseYear": 1989
  },
  {
    "id": "52abb42731",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "releaseYear": 1980
  },
  {
    "id": "b04006b461",
    "name": "Loyal to the pack",
    "artist": "Monster Magnet",
    "releaseYear": 1975
  },
  {
    "id": "7957a0d238",
    "name": "Psycho circus",
    "artist": "Mississippi Bones",
    "releaseYear": 1972
  }
]
albums = [
  {
    "id": "d65a341435",
    "name": "Riot avenue",
    "artist": "Beautiful Creatures",
    "release_year": 1975
  },
  {
    "id": "8b781b242e",
    "name": "Shock",
    "artist": "Monster Magnet",
    "release_year": 1956
  },
  {
    "id": "d27116b4eb",
    "name": "Riot avenue",
    "artist": "Beautiful Creatures",
    "release_year": 1955
  },
  {
    "id": "fa99283e70",
    "name": "Ritual",
    "artist": "Beautiful Creatures",
    "release_year": 1976
  },
  {
    "id": "606e16a1ac",
    "name": "Ritual",
    "artist": "Guns'n'Roses",
    "release_year": 1987
  },
  {
    "id": "11f41d49b6",
    "name": "Almost human",
    "artist": "Monster Magnet",
    "release_year": 1979
  },
  {
    "id": "cd7a21109b",
    "name": "Ritual",
    "artist": "Thundermother",
    "release_year": 1989
  },
  {
    "id": "52abb42731",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "release_year": 1980
  },
  {
    "id": "b04006b461",
    "name": "Loyal to the pack",
    "artist": "Monster Magnet",
    "release_year": 1975
  },
  {
    "id": "7957a0d238",
    "name": "Psycho circus",
    "artist": "Mississippi Bones",
    "release_year": 1972
  }
]

We discovered a bug in the system that feeds us this data, and sometimes, the year that they provide is wrong. But it's ok, we mark those entries with "isWrong": true, so you can safely ignore them.
To test your solution, for this entry you should get a single solution (1, 6, 7)
let artists = [
  {
    "id": "c5021e3280",
    "name": "Hey stoopid",
    "artist": "Guns'n'Roses",
    "releaseYear": 1974
  },
  {
    "id": "3ce55463bf",
    "name": "Suffer",
    "artist": "Smokey Fingers",
    "releaseYear": 1981
  },
  {
    "id": "bcc5c14d13",
    "name": "Suffer",
    "artist": "Monster Magnet",
    "releaseYear": 1959
  },
  {
    "id": "8d15d48781",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "releaseYear": 1977,
    "isWrong": true
  },
  {
    "id": "ef4f06ff9c",
    "name": "Deuce",
    "artist": "Smokey Fingers",
    "releaseYear": 1968
  },
  {
    "id": "2a48f590c2",
    "name": "Deuce",
    "artist": "Mississippi Bones",
    "releaseYear": 1953,
    "isWrong": true
  },
  {
    "id": "f4da25834c",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "releaseYear": 1995
  },
  {
    "id": "66c738018d",
    "name": "Suffer",
    "artist": "Alice Cooper",
    "releaseYear": 2009
  },
  {
    "id": "6d4a5d54d0",
    "name": "Hey stoopid",
    "artist": "Monster Magnet",
    "releaseYear": 1954
  },
  {
    "id": "b6312ce29c",
    "name": "Shock",
    "artist": "Smokey Fingers",
    "releaseYear": 1958,
    "isWrong": true
  }
]
artists = [
  {
    "id": "c5021e3280",
    "name": "Hey stoopid",
    "artist": "Guns'n'Roses",
    "release_year": 1974
  },
  {
    "id": "3ce55463bf",
    "name": "Suffer",
    "artist": "Smokey Fingers",
    "release_year": 1981
  },
  {
    "id": "bcc5c14d13",
    "name": "Suffer",
    "artist": "Monster Magnet",
    "release_year": 1959
  },
  {
    "id": "8d15d48781",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "release_year": 1977,
    "is_wrong": true
  },
  {
    "id": "ef4f06ff9c",
    "name": "Deuce",
    "artist": "Smokey Fingers",
    "release_year": 1968
  },
  {
    "id": "2a48f590c2",
    "name": "Deuce",
    "artist": "Mississippi Bones",
    "release_year": 1953,
    "is_wrong": true
  },
  {
    "id": "f4da25834c",
    "name": "Psycho circus",
    "artist": "Guns'n'Roses",
    "release_year": 1995
  },
  {
    "id": "66c738018d",
    "name": "Suffer",
    "artist": "Alice Cooper",
    "release_year": 2009
  },
  {
    "id": "6d4a5d54d0",
    "name": "Hey stoopid",
    "artist": "Monster Magnet",
    "release_year": 1954
  },
  {
    "id": "b6312ce29c",
    "name": "Shock",
    "artist": "Smokey Fingers",
    "release_year": 1958,
    "is_wrong": true
  }
]
The output must be only [4, 3, 1].

The system that feeds us this albums information just got updated to also include the month of the release!
We need to update our system to work with months instead of years (eg. between January 2000 and Februrary 2001 are 13 months).
The months come with the values Jan, Feb, Mar, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec. Try to test your code with this new set of data
let artists = [
  {
    "id": "7e6089a35e",
    "name": "Suffer",
    "artist": "Guns'n'Roses",
    "release_year": 1950,
    "release_month": "Jun"
  },
  {
    "id": "9f18a0d51f",
    "name": "Shock",
    "artist": "Smokey Fingers",
    "release_year": 1995,
    "release_month": "Sep"
  },
  {
    "id": "6e19b9f95d",
    "name": "Capricorn",
    "artist": "Black Sabbath",
    "release_year": 2017,
    "release_month": "May"
  },
  {
    "id": "838ed8013f",
    "name": "Riot avenue",
    "artist": "Guns'n'Roses",
    "release_year": 1990,
    "release_month": "Aug"
  },
  {
    "id": "9189580c19",
    "name": "Hey stoopid",
    "artist": "Alice Cooper",
    "release_year": 1979,
    "release_month": "Oct"
  },
  {
    "id": "43bd3e490d",
    "name": "Love it do death",
    "artist": "Mississippi Bones",
    "release_year": 1965,
    "release_month": "Sep"
  },
  {
    "id": "f3eb8a5ca9",
    "name": "Capricorn",
    "artist": "Smokey Fingers",
    "release_year": 1975,
    "release_month": "Aug"
  },
  {
    "id": "94916f49ee",
    "name": "Ritual",
    "artist": "Beautiful Creatures",
    "release_year": 1963,
    "release_month": "Nov"
  },
  {
    "id": "7142c344b6",
    "name": "Almost human",
    "artist": "Thundermother",
    "release_year": 2014,
    "release_month": "Aug"
  },
  {
    "id": "b251eb79cf",
    "name": "Hey stoopid",
    "artist": "Black Sabbath",
    "release_year": 1951,
    "release_month": "Jun"
  }
]
let artists = [
  {
    "id": "7e6089a35e",
    "name": "Suffer",
    "artist": "Guns'n'Roses",
    "release_year": 1950,
    "release_month": "Jun"
  },
  {
    "id": "9f18a0d51f",
    "name": "Shock",
    "artist": "Smokey Fingers",
    "release_year": 1995,
    "release_month": "Sep"
  },
  {
    "id": "6e19b9f95d",
    "name": "Capricorn",
    "artist": "Black Sabbath",
    "release_year": 2017,
    "release_month": "May"
  },
  {
    "id": "838ed8013f",
    "name": "Riot avenue",
    "artist": "Guns'n'Roses",
    "release_year": 1990,
    "release_month": "Aug"
  },
  {
    "id": "9189580c19",
    "name": "Hey stoopid",
    "artist": "Alice Cooper",
    "release_year": 1979,
    "release_month": "Oct"
  },
  {
    "id": "43bd3e490d",
    "name": "Love it do death",
    "artist": "Mississippi Bones",
    "release_year": 1965,
    "release_month": "Sep"
  },
  {
    "id": "f3eb8a5ca9",
    "name": "Capricorn",
    "artist": "Smokey Fingers",
    "release_year": 1975,
    "release_month": "Aug"
  },
  {
    "id": "94916f49ee",
    "name": "Ritual",
    "artist": "Beautiful Creatures",
    "release_year": 1963,
    "release_month": "Nov"
  },
  {
    "id": "7142c344b6",
    "name": "Almost human",
    "artist": "Thundermother",
    "release_year": 2014,
    "release_month": "Aug"
  },
  {
    "id": "b251eb79cf",
    "name": "Hey stoopid",
    "artist": "Black Sabbath",
    "release_year": 1951,
    "release_month": "Jun"
  }
]
It should result in [(1, 4, 7), (2, 3, 7)] (191 months between them).

More examples

You can generate new examples on demand, to test with your code. The examples are generated randomly. Change the part you want to generate examples for, and a new example will be generated and displayed below.

Part:
Input
Output