Randomly rotating cubic number