I've had this puzzle on my phone for years. Every few months I'd glance at it and try and solve it. Last night, as I was eating dinner, I finally figured out the answer!

https://sh.itjust.works/post/55641581

Got it. Very misleading puzzle, haha.
I’m really confused. What was misleading?
There is one obvious rule that almost works but doesn’t fit one number. This distraction draws your attention, making you more likely to miss the actual rule. It’s a kind of misdirection.