My Math Forum  

Go Back   My Math Forum > College Math Forum > Applied Math

Applied Math Applied Math Forum


Thanks Tree1Thanks
  • 1 Post By fysmat
Reply
 
LinkBack Thread Tools Display Modes
June 20th, 2016, 10:16 AM   #1
Newbie
 
Joined: Jun 2016
From: Arizona

Posts: 1
Thanks: 0

Algorithm Help

Hello,

I am trying to find an efficient algorithm to get the following information.

Find A, B given integer N >= 1 where

8N = (A * B) + A

and

ABS(A - B) is the minimum value given N.

Does anyone have any pointers, or has seen a similar algorithm out there?

It is similar to factorization algorithms, but the + A portion is throwing a wrench in my ideas.
jakster355 is offline  
 
June 30th, 2016, 07:17 AM   #2
Senior Member
 
fysmat's Avatar
 
Joined: Dec 2013
From: some subspace

Posts: 212
Thanks: 72

Math Focus: real analysis, vector analysis, numerical analysis, discrete mathematics
$\displaystyle ab + a = a(b+1)$
So you can use factorization.
Thanks from manus
fysmat is offline  
July 7th, 2016, 08:42 AM   #3
Banned Camp
 
Joined: Jun 2014
From: Earth

Posts: 945
Thanks: 191

Spamming
Math Message Board tutor is offline  
Reply

  My Math Forum > College Math Forum > Applied Math

Tags
algorithm



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Algorithm for PI Learner Applied Math 22 July 31st, 2013 06:05 AM
GCD algorithm Bogauss Number Theory 14 March 1st, 2012 03:23 PM
is there an algorithm? scoracle Computer Science 7 June 27th, 2011 05:05 AM
196-Algorithm skainstein Number Theory 6 September 15th, 2009 04:39 PM
What algorithm mmx64 Algebra 0 July 1st, 2008 11:23 PM





Copyright © 2019 My Math Forum. All rights reserved.