answersLogoWhite

0

What is a sunny number?

Updated: 9/26/2023
User Avatar

Wiki User

8y ago

Best Answer

A number, N, is a sunny number if N + 1 is a perfect square.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a sunny number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When is a number called a 'Sunny' number?

A number is said to be 'sunny' when, 1 added to that number, the square root of it becomes a whole number...


What is sunny deol mobile number?

+919872735133is no.is sunny


What is the phone number of the Sunny Hills Public Library in Sunny Hills?

The phone number of the Sunny Hills Public Library is: 850-773-3588.


Where to find Nissan sunny engine number?

where can I find the 1997? Nissan sunny EX engine number


What is the phone number of the Sunny Isles Beach Branch Library in Sunny Isles Beach?

The phone number of the Sunny Isles Beach Branch Library is: 305-682-0726.


What is the mobile number of sunny deol?

9804516680


Write a java program to print 'Sunny' Numbers till 'n'?

class Sunny { void accept(int n) { int n1=n+1; double x=Math.sqrt(n1); if((int)x==x) System.out.println("sunny number"); else System.out.println("not a sunny number"); } }


Average number of sunny days in Wyoming?

233


What is the sunny number program in c?

A "sunny number" is a whole number, n, such that the square root of n+1 is a whole number. #include<stdio.h> #include<math.h> // for sqrt bool is_sunny (int n) { int s = sqrt (++n); return s*s==n; } int main (void) { // print sunny numbers in the half-closed range [0:100) for (int n=0; n<100; ++n) { if (is_sunny (n)) { printf ("%d is a sunny number\n"); } else { printf ("%d is not a sunny number\n"); } } return 0; }


What us city has the least number of sunny days?

Seattle


Average number of sunny days for dortmund Germany?

288


Average number sunny days Birmingham England?

50 if you're lucky