Solving the Larson Problem: Constructing 0 & 1 Divisible Integers

  • Thread starter Thread starter ehrenfest
  • Start date Start date
  • Tags Tags
    Integers
Click For Summary

Homework Help Overview

The discussion revolves around a problem involving integers and their divisibility by a given integer n, specifically focusing on constructing integers that consist solely of the digits 0 and 1 in base 10 notation. The original poster attempts to demonstrate that such integers can always be found for any integer n.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore various attempts to find integers composed of 0s and 1s that are divisible by n, with some questioning the patterns observed in their findings. Others suggest leveraging modular arithmetic and the Chinese Remainder Theorem as potential approaches to the problem.

Discussion Status

The discussion is ongoing, with participants sharing their findings and questioning the underlying assumptions. Some have referenced previous threads that may relate to the current problem, indicating a broader context of exploration around similar divisibility issues.

Contextual Notes

There is mention of previous discussions on related topics, and some participants express uncertainty about the connections between their current problem and earlier proofs or concepts discussed in the forum.

ehrenfest
Messages
2,001
Reaction score
1
[SOLVED] larson problem

Homework Statement


Note: sorry to Loren Larson for constantly misspelling your last name as "larsen" and sorry to everyone who has been wondering who Loren Larsen is.

Given an integer n, show that an integer can always be found that contains only the digits 0 and 1 (in the base 10 notation) and which is divisible by n.

Homework Equations


The Attempt at a Solution


I checked this for n=1,2,3,4,5,6,7 and found

1*1=1
2*5=10
3*37=111
4*20=100
5*2=10
6*185=1110
7*143=1001

I think those are the lowest. I fail to see any pattern. I am trying to use the fact that

n= \sum_i^{ \left\lfloor \log_{10}(n) \right\rfloor}c_i 10^i

where c_i is between 0 and 9 inclusive, but I don't see how that will help me construct a number where c_i = 0 or 1. This chapter is called modular arithmetic, so the solution probably uses mods somehow. Maybe I can use the Chinese Remainder Theorem somehow because I just need to show that this integer exists...
 
Physics news on Phys.org
There was a thread on this recently in the forum with the title "Fun Divisibility Problem". But you recently proved any group of n+1 numbers contains two whose difference is divisible by n, right? Consider the n+1 numbers, 1,11,111,1111,11111, etc.
 
Dick said:
But you recently proved any group of n+1 numbers contains two whose difference is divisible by n, right?

That's obviously true, and I see how that solves the problem. I don't remember starting a thread on that topic, though.
 
Last edited:
Well, you've posted similar enough problems that the proof ought to be a piece of cake.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
20K
Replies
2
Views
2K
  • · Replies 100 ·
4
Replies
100
Views
13K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 86 ·
3
Replies
86
Views
24K