Abababcb and perfect square puzzle

  • Context: Graduate 
  • Thread starter Thread starter K Sengupta
  • Start date Start date
  • Tags Tags
    Puzzle Square
Click For Summary
SUMMARY

The discussion centers on finding base ten positive integers of the form abababcb, where (P-1) is a perfect square. Participants confirmed that the digits a, b, and c must be distinct, with a being nonzero. The user reported achieving two valid results through a programmatic approach, seeking validation for these findings.

PREREQUISITES
  • Understanding of number theory, specifically perfect squares
  • Familiarity with programming techniques for generating and testing integer patterns
  • Knowledge of digit representation in base ten integers
  • Basic combinatorial principles for selecting distinct digits
NEXT STEPS
  • Research algorithms for generating integers in specific digit patterns
  • Learn about perfect square properties and their implications in number theory
  • Explore programming languages suitable for mathematical problem-solving, such as Python or Java
  • Investigate combinatorial optimization techniques for digit selection
USEFUL FOR

Mathematicians, computer scientists, and programming enthusiasts interested in number theory and algorithmic problem-solving.

K Sengupta
Messages
113
Reaction score
0
P is a base ten positive integer of the form abababcb, such that (P-1) is a perfect square ; where a, b and c denote three different digits from 0 to 9, with a being nonzero.

Determine all possible value(s) of P for which this is possible.
 
Last edited:
Mathematics news on Phys.org
I did this programatically and got 2 results. Is this correct and may I post them?
 
My solution:
a=4 b=5 c=6
a=8 b=2 c=0
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
8K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K