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

  • Thread starter sigh1342
  • Start date
In summary, to find the least n such that f(n) is divisible by 17, you can use Fermat's Little Theorem or brute force by checking the divisibility of f(1), f(2), f(3), etc. with 17.
  • #1
sigh1342
31
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
  • #2


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.
 
  • #3


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.
 
  • #4


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:
  • #5


I would approach this problem by first analyzing the pattern of the given function. We can see that each term in the function is a power of 10, starting from 10^0 to 10^n. This suggests that the function is a geometric series with a common ratio of 10.

Next, we can use the formula for the sum of a geometric series to express f(n) as: f(n) = (10^(n+1) - 1) / (10 - 1).

To find the least value of n that makes f(n) divisible by 17, we can set up the following equation:

(10^(n+1) - 1) / (10 - 1) = 17k, where k is an integer.

Simplifying this equation, we get:

10^(n+1) - 1 = 17k(9)

We can see that this equation has a solution when n+1 is a multiple of 3, since 10^(n+1) - 1 will be divisible by 9. Therefore, the least value of n that makes f(n) divisible by 17 is n = 2, which corresponds to f(n) = 111.
 

What is the equation for f(n)?

The equation for f(n) is 1+10+10^2+...+10^n, where n is the exponent.

What does the variable n represent in the equation?

The variable n represents the exponent in the equation. It determines the number of terms in the series.

What is the pattern in the series?

The pattern in the series is that each term is 10 times greater than the previous term.

What is the relationship between n and the sum of the series?

The relationship between n and the sum of the series is exponential. As n increases, the sum of the series increases at a faster rate.

What is the limit of the series as n approaches infinity?

The limit of the series as n approaches infinity is infinity. This means that the sum of the series will continue to increase without bound as n increases.

Similar threads

  • Linear and Abstract Algebra
Replies
6
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
636
  • Linear and Abstract Algebra
2
Replies
41
Views
3K
  • Linear and Abstract Algebra
Replies
13
Views
1K
  • Linear and Abstract Algebra
Replies
25
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
790
  • Linear and Abstract Algebra
Replies
4
Views
903
  • Linear and Abstract Algebra
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
790
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
Back
Top