#Octave, <s>49</s> 47 bytes Just calculating the `gcd` of all pairs and counting. @(n)mean(mean(gcd(c=kron(ones(n,1),1:n),c')<2)) > The kronecker product is awesome.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル