Use the drop point glitch to get five of those paintings, then spend half a year selling five paintings to the drop points and buying them back, then waiting 24h, then selling, buying back, waiting.
Having a million of those paintings won't really help you, by the way, because there are no vendors with infinite money to buy them.