How we doing guys?

To cut a long story short, I'm a working magician and I'm trying to come up with a new routine that uses 3 digits (eg 123) in a 27 digit repeating loop. Sorry I don't know proper math terminology. I don't know how best to describe it so hopefully one of you guys knows what I mean but it's using the following 3 digit numbers to create a 27 digit long number that loops and repeats but without having the same 3 number sequence more than once.

111 112 113 121 122 123 131 132 133

211 212 213 221 222 223 231 232 233

311 312 313 321 322 323 331 332 333