搜索资源列表
prime
- 这个程序给出4到100000000中所有的偶数都是可以由两个质数的和。-This program will solute a problem every even number can be a sum of two prime numbers.
a.c
- Finding special triples of the form (n, n + 1, n + 2) Write a program that finds all triples of consecutive positive three-digit integers each of which is the sum of two squares, that is, all triples of the form (n, n + 1, n + 2) such that:
f.c
- Obtaining a sum from a subsequence of digits Write a program that prompts the user for two numbers: an unsigned long , say digits, and an int, say sum, and outputs the number of ways of selecting digits from digits that sum up to sum. For instance,
Sum-two-big-numbers
- By using this program we can sum two big numbers (at last 1000 digits) whit each other.
Nonhypotenuse-Numbers.c
- A nonhypotenuse number is a positive integer whose square cannot be expressed as the sum of two nonzero integer squares. a C program to find the 20,000th nonhypotenuse number. print out the first 100 nonhypotenuse numbers for verification purpose.