Revision 2efe5fa5-5e77-474c-8f13-1cfdf1e881bd - Code Golf Stack Exchange

#Bash+coreutils (dc and egrep), 46 bytes

 dc<<<"Do1[p1+dD 9^>m]dsmx"|egrep -v "(.)1円{3}"

This'll take a while to run but I think its correct.

`dc` counts to 14^9 and outputs in base 14. egrep filters out the numbers with more than 3 consecutive same digits.

*Note this `dc` command requires tail recursion to work. This works on dc version 1.3.95 (Ubuntu 12.04) but not 1.3 (OSX Mavericks).*

AltStyle によって変換されたページ (->オリジナル) /