f(n) = n^3 + 4n + 2 = prime This works for at least two numbers f(0) = 2 f(1) = 7
#include#includeint a,f,n,sum=0; printf("Enter any number"); scanf("%d",&n); f=1; for(a=1;a<=n;a ); { f=f*a; } for(f=1;f<=n;f ); { sum=sum f; } printf("sumation of factorial numbers :",sum); getch(); }
False
Just 2.
6
The GCF of any set of distinct prime numbers is 1.
Mean = sum of all numbers divided by number of numbers you summed. Call numbers a, b, c, d, e, f (a+b+c+d+e+f)/6 = mean
108°f=136.8°c
Expressed as a sum in hexadecimal form, F + D = 1C.
/*mycfiles.wordpress.com To Calculate Sum & Average of 4 no.*/ #include<stdio.h> #include<conio.h> void main() { float a,b,c,d,sum,avg; clrscr(); printf("Enter the 4 nos.\n\n"); scanf("%f%f%f%f",&a,&b,&c,&d); sum=a+b+c+d; avg=(a+b+c+d)/4; printf("\nSum is= %f\nAverage is= %f",sum,avg); getch(); }
Any number of the form n = a*b*c*d*e*f where a, b, c, d, e and f are different prime numbers. n has 26 = 64 factors in total, of which 1 is the number 1 (neither prime nor composite), 6 are prime, and the remaining 57 are composite.
Yes, the mean can be a decimal because the mean is a+b+c+d+(the numbers)....=e(the sum of the numbers), then e/(the quantity of numbers added together to get e)=f(the mean). Sometimes the sum may not go into the quantity in a whole number, which gives you a decimal.