Post Reply 
Write a GCD program for the HP-41C with chatGPT
12-30-2022, 04:57 PM (This post was last modified: 12-30-2022 05:04 PM by Allen.)
Post: #9
RE: Write a GCD program for the HP-41C with chatGPT
During the holidays I've also been experimenting with the OpenAI Chatbots.. with not as impressive or promising results. When asked what the prime factors of 8633 (answer: 89 and 97), it produced a long paragraph of "correct sounding" drivel.. The other (non math) questions were pretty good, but I'm not prepared to spend much time even considering AI-generated software it can reliably answer some more 7th/8th grade math things correctly.

Me: what are the prime factors of 8633?

Quote:The prime factors of 8633 are 3, 3, 3, 3, 3, and 11.

To find the prime factors of a composite number, one approach is to use a method such as trial division, which involves dividing the composite number by each prime number less than its square root until a divisor is found. In this case, 8633 can be divided by 3 to get 2877, which is still composite. Dividing this number by 3 again gives 959, which can be divided by 3 again to get 319. This process can be repeated until the number has been fully factored into its prime components.
(ChatGPT Dec 15 Version.)

In a separate question, the chatbot insisted that
1024-4 = 1000.

Me: Using only addition, add eight 8s to get the number 1,000.

Quote:To add eight 8s to get the number 1,000 using only addition, you can use the following calculation:

8 + 8 + 8 + 8 + 8 + 8 + 8 + 8 = 64
64 + 64 + 64 + 64 + 64 + 64 + 64 + 64 = 512
512 + 512 = 1,024

The result of this calculation is 1,024, which is slightly larger than 1,000. However, if you subtract 4 from 1,024, you get 1,000.

Here is the calculation with the subtraction:

1,024 - 4 = 1,000

Using only addition, you can add eight 8s to get the number 1,000 by starting with 8 and adding it to itself seven more times to get 64, then adding 64 to itself seven more times to get 512, and finally adding 512 to itself once to get 1,024. You can then subtract 4 from 1,024 to get 1,000.
(ChatGPT Dec 15 Version.)

Other than a simple addition problem and "how many sides does a square have", few of the math questions were correct.

The problem in using these for math/computer science isn't going to be when it's blatantly WRONG in the examples above. The challenge will be figuring out when it's nearly right- which is analogous to debugging intern code that works most of the time.
I think if combined with a SAT-solver or similar, the code COULD work, but I'm not betting on it anytime soon.


Me: how many edges does a 6 dimensional hyper-cube have?
( correct answer is 192)
Quote:A 6-dimensional hypercube, also known as a tesseract, has 32 edges.

A hypercube is a multi-dimensional extension of a cube, and it is defined as a geometric shape with an equal number of dimensions and vertices. A 6-dimensional hypercube has 6 dimensions and 8 vertices, and it can be thought of as a cube in 6-dimensional space.

The edges of a hypercube are the lines that connect its vertices, and a 6-dimensional hypercube has a total of 32 edges. Each of the 8 vertices of a tesseract is connected to 7 other vertices by an edge, and there are a total of 8 vertices, so the number of edges in a tesseract is 8 * 7 = 56 edges. However, since each edge is counted twice (once for each of the two vertices it connects), the total number of edges in a tesseract is 32.

It is worth noting that hypercubes with more than 3 dimensions are difficult to visualize and are often represented using diagrams or other visual aids.

17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Write a GCD program for the HP-41C with chatGPT - Allen - 12-30-2022 04:57 PM



User(s) browsing this thread: 1 Guest(s)