Question: in c++ please Problem A: Maths (20 points) First some definitions of three integer properties. Prime numbers A prime number is any integer that is
in c++ please

Problem A: Maths (20 points) First some definitions of three integer properties. Prime numbers A prime number is any integer that is only divisible by 1 and itself. The first few prime mumbers are : 2, 3, 5, 7, 11, 13, 17, 19.... Fibonacci numbers The series of Fibonacci numbers are given by this relationship: P = 0, y = 1, R=R1+R2 (forn > 1). We say that a number is Fibonacci" if, and only if, 1 = R. for some n > 0. The first few Fibonacci numbers are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, .... Modified Cullen The series of Modified Cullen numbers are given by the equation Ch = n x 210/21 +1 for any integer n > 0. (Note the floor" function [1/2] this stands for "round down") We say that a mmber s is "Cullen" if I = C, for some value of n. The first few Modified Cullen numbers are 2, 5, 7, 17, 21, 19, 57 .... Your Task Write a program that reads a single number from the keyboard. The program should then display whether the number is any two of the listed types of mumbers above. Please see the below examples for the order you should cout when more than one property applies: Example 1 (119er input is underlined for clarity, underlined text in your program is not needed). Further note that PDFs will sometimes use 2 spaces where our code only sex 1. (In general I do not recommend copy/pasting from PDFS) Give me a number, HUMAN : 2 that is prime and fibonacci that is prime and cullen that is cullen and fibonacci
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
