Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice

Lucky Numbers

Open
#771 11 comments 0 reactions 1 assignee Assigned to @Priya23Singh View on GitHub
LGMSOC21 🟩 Level1
Dominant language
C++
Stars
323
Forks
472
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Lucky Numbers

**Describe the solution you'd like**
Implementation of program to find lucky numbers using python.

**Describe alternatives you've considered**
A number is called lucky if the sum of its digits, as well as the sum of the squares of its digits is a prime number. How many numbers between a and b inclusive, are lucky?

For ex. a=20, b=25
Lucky numbers are : 21,23 and 25

**Additional context**
Note: These lucky numbers are not to be confused with *Lucky Numbers*
https://en.wikipedia.org/wiki/Lucky_number

### Programming language

- [ ] C
- [ ] C++
- [ ] Java
- [ ] Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.