Number Theory Help: Solving Problems & Understanding Repunits

Click For Summary

Homework Help Overview

The discussion revolves around number theory, specifically focusing on problems related to the last digit of powers and the properties of repunits. The original poster seeks guidance on two distinct problems: finding the last digit of \(7^{999999}\) and proving that every positive integer relatively prime to 10 divides infinitely many repunits.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the concept of modular arithmetic to determine the last digit of a large power. There is uncertainty about the correct approach to the first problem.
  • Definitions and properties of repunits are discussed, with some participants expressing curiosity about their characteristics and relationships to integers that are relatively prime to 10.
  • One participant attempts to formulate a proof regarding the divisibility of repunits, while others question the validity and justification of the statements made.

Discussion Status

The conversation is ongoing, with some participants providing hints and suggestions for the first problem. There is a mix of exploration and critique regarding the proof attempts related to repunits, indicating a productive exchange of ideas without a clear consensus on the proof's correctness.

Contextual Notes

Participants are navigating definitions and properties of mathematical concepts, such as repunits and relative primality, while also grappling with the implications of their findings. There is a noted lack of clarity in some proof attempts, particularly regarding the assumptions made about integers and their relationships to repunits.

buzzmath
Messages
108
Reaction score
0
Could someone please give me some advice on solving these problems

1. find the last digit of the decimal expansion 7^999999?
I think i have to do something like 7^999999(mod10) but I'm not really sure if that's right or how i would do that

2. Show that every positive integer relatively prime to 10 divides infinitely many repunits? I don't know what a repunit is or how i would even begin this problem.

Thanks
 
Physics news on Phys.org
HINT #1: Powers of 7 can only end in one of the digits 7, 9, 3 or 1.
 
Thanks i think i figured the first one out
 
a repunit, according to my quick google search, is a number with all ones in every place. 11. 111. 1111111111 etc. The general formula for them is (10^x-1)(10-1) if you use a different number than 10 you're switching what base you're working in, but I'm assuming this is all in base 10. They have interesting properties, like if you square them you get those numbers that go like 1234321 or whatever, which is neat. Yay for learning

...so relatively prime means the two numbers share no common positive factors except 1, so in the case of 10 and other numbers, you get 1, 3, 7, 9, 11, etc.(I think, I looked up relatively prime as well)I can't help you with the proof, but I can see by random example it's true. 11 divides 11, 1111, 111111, and so on(add two ones each time, and the answer is actually like 101010101...another neat property, this is neat, I should take a number theory class)it gets weird though, for like 13 you add on an additional 6 1s(or whatever, I'm just messing with it on my calc)
 
Last edited:
thanks for your help. I think i might have the proof but I'm not sure does this look right?

If (a,10)=1 and (a,9)=1 then a|(10^n-1)/9 and if (a,9)=d>1 then d divides every repunit of length k9 and (a/d)|(10^(kΦ(a/d))-1)/9 and this repeats infinetly
 
I don't see where you're getting the first part:

If (a,10)=1 and (a,9)=1 then a|(10^n-1)/9

You haven't justified it. And what's n? The above fails for a = 7, n = 2. Anyways, what you've written doesn't look like a proof to me.

Consider the case a = 1. a divides infinitely many repunits, so we're done this case. From here on, a > 1.

Suppose p is a prime that is neither 2 nor 5. What can you say about 10 as an element of the group of elements {1, ..., p-1} under multiplication modulo p? What is the sum

(1 + (p-1)) + (2 + (p-2)) + ... + (p/2 - 1/2 + (p/2 + 1/2))

congruent to (modulo p)? Putting these together and filling in the details, what can you say about the existence of a repunit r such that p | r (again, where p is a prime that is neither 2 nor 5)?

Try to figure out that if x is any number that divides a repunit, then it divides infinitely many. (Once you prove this, it will be useful in two separate places, one where x = p, and second, where x = a). Prove that if a does not divide a repunit, then (a,10) cannot be 1, otherwise we'd get that

for all prime p, there exists a repunit r such that (a,r) = 1 but (r,p) = p
(it's easy to find an r such that (a,r) = 1, but to find an r such that, in addition, (r,p) = p, you need to use the fact you proved, where x = p)

implying

for all prime p, (a,p) = 1

which is impossible because a > 1.

Deduce that if (a,10) = 1, then a divides a repunit. Using x = a and the fact you proved, conclude that a divides infinitely many repunits.
 
Last edited:

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
32
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
18
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K