[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

LongNbrs and palindromes: an interesting application of a class

Published: 01 March 1998 Publication History

Abstract

What started off as an enrichment assignment for a third grader has developed into a rich source of programming assignments. The long integers, needed to determine whether a number eventually becomes a palindrome under the process of reversal and addition, can be described as an abstract data type and implemented as a C++ class. There are intriguing open questions which call for great creativity and efficiency in terms of data structures. Even graphics have been employed to illuminate the problem. The next step is probably parallel processing.

References

[1]
C.W. THgg, Palindromes by Addition. Mathematics Magazine~ 40, 26-28 (1967).
[2]
C.W. Trigg, More on Palindromes by Reversal-addition. Mathematics Magazine, 45, 184-186 (1972).
[3]
H. Harborth, on Palindromes, Mathematics Magazine, 46, 96-99 (1973).
[4]
Ryan Richardson and Christine Shannon, Palindrome Pictures, Computers and Graphics, 20, 597-603 (1996).

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGCSE Bulletin
ACM SIGCSE Bulletin  Volume 30, Issue 1
Mar. 1998
376 pages
ISSN:0097-8418
DOI:10.1145/274790
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCSE '98: Proceedings of the twenty-ninth SIGCSE technical symposium on Computer science education
    March 1998
    396 pages
    ISBN:0897919947
    DOI:10.1145/273133
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 1998
Published in SIGCSE Volume 30, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 928
    Total Downloads
  • Downloads (Last 12 months)36
  • Downloads (Last 6 weeks)9
Reflects downloads up to 03 Jan 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media