All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Prime repunits (Posted on 2016-11-24) Difficulty: 2 of 5
A number like 11, 111, or 1111 i.e. a number containing only the digit 1
is called repunit.

List all base-8 prime repunits.

No Solution Yet Submitted by Ady TZIDON    
Rating: 3.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 5 of 6 |
A base 8 repunit of x digits can be represented (in base 10) as 8^(x-1) + 8^(x-2) + ... + 8^2 + 8 + 1

The expression can also be expressed as (8^x-1)/7. An alternate factorization of the numerator is (2^x - 1) * (4^x + 2^x + 1); one of these two factors is divisible by 7.

For any x greater than 3 both (2^x - 1) * (4^x + 2^x + 1) are larger than 7, so the value will still be composite after 7 is divided out.

This leaves only three possible candidates for primes: 1, 11, or 111 base 8, which are 1, 9, and 73 base 10.

Then the only base 8 prime repunit is 111 = 73 base 10.

  Posted by Brian Smith on 2018-12-15 22:42:37
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information