All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Some inflation ! (Posted on 2022-03-24) Difficulty: 3 of 5
A big number N becomes 6*N if you take its last digit and place it as its first like transforming 123466 into 612346.

REM: Big big number!

Find it.

No Solution Yet Submitted by Ady TZIDON    
Rating: 5.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution (spoiler) | Comment 1 of 4
clc, clearvars
syms p10 dig p x
p=sym(1);
for p10=1:108
   p=p*sym(10); 
   for dig=4:9 
      eq=sym(6)*(10*x+dig)==x+p*dig;
      s=solve(eq,x);
      if s==round(s)
         disp([s dig]) 
         disp([s+p*dig])
         disp((s+p*dig)/(10*s+dig))
         disp(p10)
         disp(' ')         
      end
   end
end

solves the equation for switched digits between 4 and 9, for successive powers of 10 representing how distant the switch is, finding the main body needed and finds 


[67796610169491525423728813559322033898305084745762711864, 4]
4067796610169491525423728813559322033898305084745762711864
6
    57
 
[84745762711864406779661016949152542372881355932203389830, 5]
5084745762711864406779661016949152542372881355932203389830
6
    57
 
[101694915254237288135593220338983050847457627118644067796, 6]
6101694915254237288135593220338983050847457627118644067796
6
    57
 
[118644067796610169491525423728813559322033898305084745762, 7]
7118644067796610169491525423728813559322033898305084745762
6
    57
 
[135593220338983050847457627118644067796610169491525423728, 8]
8135593220338983050847457627118644067796610169491525423728
6
    57
 
[152542372881355932203389830508474576271186440677966101694, 9]
9152542372881355932203389830508474576271186440677966101694
6
    57
    
The first two "solutions" are not really solutions as they introduce a leading zero for the smaller number. The third solution is the lowest actual solution.   

N = 1016949152542372881355932203389830508474576271186440677966
becomes
6101694915254237288135593220338983050847457627118644067796

Then subsequent solutions:

N = 1186440677966101694915254237288135593220338983050847457627
becomes
7118644067796610169491525423728813559322033898305084745762

and

N = 1355932203389830508474576271186440677966101694915254237288
becomes
8135593220338983050847457627118644067796610169491525423728

and

N = 1525423728813559322033898305084745762711864406779661016949
becomes
9152542372881355932203389830508474576271186440677966101694

These are 58-digit numbers, the 57 in the program output being the power of 10 for the leftmost position.

Edited on March 24, 2022, 10:21 am
  Posted by Charlie on 2022-03-24 10:20:47

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information