@Ninaboscan Well computers are never truly random. When you generate a number from 1-10 it has to create a seed so it knows how to generate it. If you can guess the seed you can guess the next number it'll generate
@Ninaboscan Spotify's algorithm works by dividing all of the artist songs up evenly throughout the "shuffled playlist" and then will mix it one more time to make it more "random". Here's a good visual representation. The graph has a top down Flow with the bottom line being the song list