Skip to main content
Commonmark migration
Source Link

##Mathematica, 51 bytes

Mathematica, 51 bytes

#+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

Try it online!

##Mathematica, 51 bytes

#+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

Try it online!

Mathematica, 51 bytes

#+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

Try it online!

deleted 14 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

##Mathematica, 5951 bytes

(t=#+1;While[t~Mod~3==0||IntegerDigits@t~MemberQ~3,t++];t)&#+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

Try it online!Try it online!

##Mathematica, 59 bytes

(t=#+1;While[t~Mod~3==0||IntegerDigits@t~MemberQ~3,t++];t)&

Try it online!

##Mathematica, 51 bytes

#+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

Try it online!

Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

##Mathematica, 59 bytes

(t=#+1;While[t~Mod~3==0||IntegerDigits@t~MemberQ~3,t++];t)&

Try it online!