Sunday, November 23, 2008

A Very Good question

I Dont need only Ans. bt a very good shortcut.
*******Suppose, the seed of any positive integer n is defined as follows:
seed(n)= n, if n<10
=seed (s(n)), otherwise,
where s(n) indicates the sum of digits of n. for example,
seed(7) = 7, seed (248) = seed(2+4+8) = seed (14) = seed (1+4) = seed (5) = 5 etc.
How many positive integers n, such that n<500, will have
a. seed(n) =9
b. seed(n) = 0
c. seed(n) = 1

7 comments:

Aayushi Khanna said...

a) 50
b) 1
c) 3

are these the answers mam?

Aayushi Khanna said...

Sorry.. My ans for c) is 42. Not 3.

monika b said...

no..it's nt correct..
okay let me drop a hint...
is there ny possibility of solving ds qustion by using DIVISIBILITY RULE OF 9....

Mohit Vyas said...

is the ans 55 for seed9,again 55 for seed1 nd 1 for seed0..

Mohit Singh said...
This comment has been removed by the author.
Mohit Singh said...

a)55
b)0
c)42

monika b said...

answrs are 55, 0 nd 55...