Created
October 7, 2014 15:58
-
-
Save butchi/1ef05aa7125b0fe4d3e7 to your computer and use it in GitHub Desktop.
yukicoder no.36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* http://yukicoder.me/problems/27 *) | |
h[n_] := With[{a = FactorInteger[n]}, ! MatchQ[a, {{_, 1}}] && ! MatchQ[a, {{_, 1}, {_, 1}}] && ! MatchQ[a, {{_, 2}}]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment