in Discrete Mathematics recategorized by
905 views
1 vote
1 vote

Let $G$ be a directed graph whose vertex set is the set of numbers from $1$ to $100$. There is an edge from a vertex $i$ to a vertex $j$ if and only if either $j=i+1$ or $j=3i$. The minimum number of edges in a path in $G$ from vertex $1$ to vertex $100$ is ______

  1. $23$
  2. $99$
  3. $4$
  4. $7$
in Discrete Mathematics recategorized by
905 views

2 Answers

0 votes
0 votes

Option D) is correct

GATE 2005

0 votes
0 votes
Edge set consists of edges from i to j, using either two conditions are j = i + 1 or j = 3i
Second choice helps us to move from 1 to 100. The trick to slot this is to think the other way
around. Try to find a 100 to 1 trail, instead of having a 1 trail to 100.
So, the edge sequence with the minimum number of edges is
1 → 3 → 9 → 10 → 11 → 33 → 99 → 100
which consists of 7 edges.
Hence the correct answer is 7.
by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true