The question is , if f(n)= 1+10+10^2 + + 10^n , where n is

  • Context: Undergrad 
  • Thread starter Thread starter sigh1342
  • Start date Start date
Click For Summary
SUMMARY

The function f(n) = 1 + 10 + 10^2 + ... + 10^n is analyzed to determine the smallest integer n such that f(n) is divisible by 17. The discussion highlights the utility of Fermat's Little Theorem in relation to prime numbers and suggests a brute force method to find n by checking the divisibility of f(n) for increasing values of n. Additionally, it emphasizes the importance of calculating the remainders of powers of 10 when divided by 17 to aid in the solution.

PREREQUISITES
  • Understanding of geometric series and their sums
  • Fermat's Little Theorem and its application to prime numbers
  • Basic programming skills for implementing brute force solutions
  • Familiarity with modular arithmetic, specifically calculating remainders
NEXT STEPS
  • Learn how to apply Fermat's Little Theorem in number theory
  • Explore geometric series and their properties in mathematics
  • Practice programming techniques for brute force algorithms
  • Investigate modular arithmetic and its applications in divisibility problems
USEFUL FOR

Mathematicians, computer scientists, and students interested in number theory and modular arithmetic, particularly those looking to solve divisibility problems involving powers and series.

sigh1342
Messages
30
Reaction score
0
the question is , if f(n)= 1+10+10^2 +... + 10^n , where n is integer.
find the least n s.t. f(n) is divisible by 17 , I have no idea about it.
 
Physics news on Phys.org


What is the remainder if you divide...
1 by 17?
10 by 17?
100 by 17?
...
a+b by 17, if you know it for a and b?

That should help.
 


sigh1342 said:
the question is , if f(n)= 1+10+10^2 +... + 10^n , where n is integer.
find the least n s.t. f(n) is divisible by 17 , I have no idea about it.

It should also help to recognize that 9 times the sum plus 1 is a power of 10. Thus Fermats Little theorem re primes P dividing A^(P-1) - 1 may apply.
 


You can also find n by "brute force", i.e. check if f(1), f(2), f(3), ... is divisible by 17. Use http://www.wolframalpha.com/ or write a small program in your programming language of choice.
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
48
Views
5K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K