Skip to content

Add function to test for palindromic numbers to csdb #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
delphidabbler opened this issue Jul 21, 2023 · 1 comment
Closed

Add function to test for palindromic numbers to csdb #19

delphidabbler opened this issue Jul 21, 2023 · 1 comment
Assignees
Labels
completed Issue completed and committed to develop. To be closed on next release enhancement New feature or request

Comments

@delphidabbler
Copy link
Owner

Wikipedia defines palindromic numbers, for any base > 1, as:

Screenshot_20230721-075659_Chrome

The same article also states:

A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the same when its digits are reversed. In other words, it has reflectional symmetry across a vertical axis. The term palindromic is derived from palindrome, which refers to a word (such as rotor or racecar) whose spelling is unchanged when its letters are reversed. The first 30 palindromic numbers (in decimal) are:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191, 202, … (sequence A002113 in the OEIS).

Palindromic numbers receive most attention in the realm of recreational mathematics. A typical problem asks for numbers that possess a certain property and are palindromic. For instance:

It is obvious that in any base there are infinitely many palindromic numbers, since in any base the infinite sequence of numbers written (in that base) as 101, 1001, 10001, 100001, etc. consists solely of palindromic numbers.

@delphidabbler delphidabbler self-assigned this Jul 21, 2023
@delphidabbler delphidabbler added enhancement New feature or request accepted Issue will be actioned labels Jul 21, 2023
@github-project-automation github-project-automation bot moved this to Considering in Code Snippets Jul 21, 2023
@delphidabbler delphidabbler moved this from Considering to Accepted in Code Snippets Jul 21, 2023
@delphidabbler delphidabbler changed the title A function to test for palindromic numbers to csdb Add function to test for palindromic numbers to csdb Oct 14, 2024
@delphidabbler delphidabbler moved this from Accepted to In progress in Code Snippets Jan 7, 2025
@delphidabbler delphidabbler added the in progress Work has started on this issue label Jan 7, 2025
@delphidabbler
Copy link
Owner Author

Implemented by merge commit 47be72f

@delphidabbler delphidabbler added completed Issue completed and committed to develop. To be closed on next release and removed accepted Issue will be actioned in progress Work has started on this issue labels Jan 9, 2025
@delphidabbler delphidabbler moved this from In progress to Completed in Code Snippets Jan 9, 2025
@delphidabbler delphidabbler added this to the Next Release milestone Jan 9, 2025
@delphidabbler delphidabbler removed this from the Next Release milestone Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed Issue completed and committed to develop. To be closed on next release enhancement New feature or request
Projects
Status: Completed
Development

No branches or pull requests

1 participant