Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8171143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:22:13+00:00 2026-06-06T21:22:13+00:00

Given (3AC) in base-14. Convert it into BASE-7. A simple approach is to convert

  • 0

Given (3AC) in base-14. Convert it into BASE-7.

A simple approach is to convert first 3AC into BASE-10 & then to BASE-7 which results in 2105.

I was just wondering that does there exist any direct way of conversion from BASE-14 to BASe-7?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:22:14+00:00Added an answer on June 6, 2026 at 9:22 pm

    I have found one approach.

    There is no need to calculate for base 10 and then base 7. It can be done using this formula!
    If a no X is represented in base 14 as
    X = an a(n-1) a(n-2) …. a(0)

    then in base 7 we can write it as

    X=…..rqp

    where
    p=(2^0)a(0)%7;
    q=((2^1)a(1) + p/7)%7
    r=((2^2)a(2) + q/7)%7

    ……….
    nth term=((2^n)a(n) + (n-1)th term/7)%7
    (will go further because a no. in base 14 will require more digits in base 7).

    The logic is simple, just based on properties of bases, and taking into account the fact that 7 is half of 14. Else it would have been a tedious task.

    Eg. here it is given 3AC.
    C =12;
    so last digit is (2^0 * 12)%7 = 5
    A=10
    next digit is (2^1 * 10 + 12/7)%7 = (20+1)%7=21%7=0
    next is 3;
    next digit is (2^2 * 3 + 21/7)%7 = (12+3)%7=15%7=1
    next is nothing(0);
    next digit is (2^3 * 0 + 15/7)%7 = (0+2)%7=2%7=2

    Hence, in base 7 number will be, 2105. This method may seem confusing and difficult, but with a little practice, it may come very handy in solving similar types of problems! Also, even if the number is very long, like 287AC23B362, we don’t have to unnecessarily find base 10, which may consume atleast some time, and directly compute base 7!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

given a Python class hierarchy, say class Base: def method1 def method2 def method3
Given this: $ids = ''; I just realized that this: $single = $ids ==
Given a table like this: [Last Name] [First Name] [DepartmentID] --------------------------------------- Doe John 1
Given the above dynamically generated text (meaning that I can't just use an image),
Given a simple web application running on AWS Elastic Beanstalk (i.e. 1..n identical instances
Given SQL Server 2008, I have written a simple find in string function as
Given a simple generic Rails form with a date_select (among other fields, I removed
Given below is a snippet from a class of which I am trying to
Given that the web application doesn't have su privileges, I'd like to execute a
Given this method to work on a HTML page in a webbrowser: bool semaphoreForDocCompletedEvent;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.