Type: RemoteJudge 1000ms 256MiB

Gcd

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

给定整数N,求1<=x,y<=N且Gcd(x,y)为素数的
数对(x,y)有多少对.

输入格式

一个整数N

输出格式

如题

4
4

数据范围与约定

hint

对于样例(2,2),(2,4),(3,3),(4,2)


1<=N<=10^7