C ++ implementation to count the number of ways a number can be written as sum of prime number and twice a square
#include <bits/stdc++.h> NEW_LINE using namespace std ; long long int n = 500000 - 2 ; vector < long long int > v ;