Warning: file_get_contents(/home/u885929685/domains/numerology.vikraantworld.com/public_html/wp-content/plugins/hostinger-ai-assistant/hostinger-ai-assistant.php): Failed to open stream: No such file or directory in /home/u885929685/domains/numerology.vikraantworld.com/public_html/wp-includes/functions.php on line 7038

Warning: file_get_contents(/home/u885929685/domains/numerology.vikraantworld.com/public_html/wp-content/plugins/hostinger-ai-assistant/hostinger-ai-assistant.php): Failed to open stream: No such file or directory in /home/u885929685/domains/numerology.vikraantworld.com/public_html/wp-includes/functions.php on line 7038
अंक ज्योतिष कैलकुलेटर्स: लॉजिक, गणितीय सूत्र और रेडी-टू-कोड एल्गोरिदम (Technical Blueprints)

अंक ज्योतिष कैलकुलेटर्स: लॉजिक, गणितीय सूत्र और रेडी-टू-कोड एल्गोरिदम (Technical Blueprints)

अंक ज्योतिष कैलकुलेटर्स: लॉजिक, गणितीय सूत्र और रेडी-टू-कोड एल्गोरिदम (Technical Blueprints)

लेखक व शोध: विक्रांत (Vikraant) | प्लेटफ़ॉर्म: Vikraantworld

श्रेणी: कैलकुलेटर और रिपोर्ट जनरेटर ब्लूप्रिंट (Module 11)


1. प्रस्तावना

यह दस्तावेज़ Vikraantworld प्लेटफ़ॉर्म के सभी अंक ज्योतिष कैलकुलेटरों के लिए एक संपूर्ण तकनीकी और गणितीय ब्लूप्रिंट (Technical & Mathematical Blueprint) है। डेवलपर्स इस लॉजिक और स्यूडोकोड (Pseudocode / JavaScript / Python) का उपयोग करके तुरंत वेब कैलकुलेटर और मोबाइल ऐप्स बना सकते हैं।


2. कैलकुलेटर 1: मूलांक, भाग्यांक और कुआ अंक इंजन (Core Numbers Engine)

(क) मूलांक (Driver Number) लॉजिक:

  • इनपुट: जन्म की तारीख (Day: 1 to 31)
  • एल्गोरिदम:

function calculateMulank(day) {

let sum = 0;

while (day > 0 || sum > 9) {

if (day === 0) {

day = sum;

sum = 0;

}

sum += day % 10;

day = Math.floor(day / 10);

}

return sum; // returns 1 to 9

}


(ख) भाग्यांक (Conductor / Destiny Number) लॉजिक:

  • इनपुट: पूर्ण जन्मतिथि (Day, Month, Year e.g. 18, 07, 1985)
  • एल्गोरिदम:

function calculateBhagyank(day, month, year) {

let digits = ${day}${month}${year}.replace(/\D/g, ”);

let sum = digits.split(”).reduce((acc, digit) => acc + parseInt(digit), 0);

while (sum > 9) {

sum = sum.toString().split(”).reduce((acc, digit) => acc + parseInt(digit), 0);

}

return sum; // returns 1 to 9

}


(ग) कुआ अंक (Kua Number) लॉजिक:

  • इनपुट: जन्म वर्ष (Year) और लिंग (Gender: ‘male’ / ‘female’)
  • एल्गोरिदम:

function calculateKuaNumber(year, gender) {

let sum = year.toString().split(”).reduce((acc, digit) => acc + parseInt(digit), 0);

while (sum > 9) {

sum = sum.toString().split(”).reduce((acc, digit) => acc + parseInt(digit), 0);

}

let kua = 0;

if (gender.toLowerCase() === ‘male’) {

kua = (year < 2000) ? (10 - sum) : (9 - sum);

} else {

kua = (year < 2000) ? (sum + 5) : (sum + 6);

}

while (kua > 9) {

kua = kua.toString().split(”).reduce((acc, digit) => acc + parseInt(digit), 0);

}

// 5 का विशेष अपवाद नियम

if (kua === 5) {

kua = (gender.toLowerCase() === ‘male’) ? 2 : 8;

}

return kua;

}


3. कैलकुलेटर 2: लो-शू ग्रिड और 8 योग जनरेटर (Lo Shu Grid Engine)

  • इनपुट: जन्मतिथि, मूलांक, भाग्यांक, कुआ अंक
  • एल्गोरिदम:

function generateLoShuGrid(day, month, year, mulank, bhagyank, kua) {

let rawNumbers = ${day}${month}${year}${mulank}${bhagyank}${kua}.replace(/0/g, ”);

let gridCount = { 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0 };

for (let char of rawNumbers) {

let num = parseInt(char);

if (num >= 1 && num <= 9) {

gridCount[num]++;

}

}

// मिसिंग और रिपीटेड नंबर्स की सूची

let missingNumbers = [];

let repeatedNumbers = {};

for (let num = 1; num <= 9; num++) {

if (gridCount[num] === 0) missingNumbers.push(num);

if (gridCount[num] > 1) repeatedNumbers[num] = gridCount[num];

}

// 8 योगों की जांच

let planes = {

mentalPlane: (gridCount[4] > 0 && gridCount[9] > 0 && gridCount[2] > 0),

emotionalPlane: (gridCount[3] > 0 && gridCount[5] > 0 && gridCount[7] > 0),

practicalPlane: (gridCount[8] > 0 && gridCount[1] > 0 && gridCount[6] > 0),

thoughtPlane: (gridCount[4] > 0 && gridCount[3] > 0 && gridCount[8] > 0),

willPlane: (gridCount[9] > 0 && gridCount[5] > 0 && gridCount[1] > 0),

actionPlane: (gridCount[2] > 0 && gridCount[7] > 0 && gridCount[6] > 0),

goldenRajYoga: (gridCount[4] > 0 && gridCount[5] > 0 && gridCount[6] > 0),

silverRajYoga: (gridCount[2] > 0 && gridCount[5] > 0 && gridCount[8] > 0)

};

return { gridCount, missingNumbers, repeatedNumbers, planes };

}


4. कैलकुलेटर 3: चेल्डियन व पाइथागोरस नाम सुधार विश्लेषक (Name Engine)

  • चेल्डियन वर्णमाला मैपिंग:

const CHALDEAN_MAP = {

‘A’:1, ‘B’:2, ‘C’:3, ‘D’:4, ‘E’:5, ‘F’:8, ‘G’:3, ‘H’:5, ‘I’:1,

‘J’:1, ‘K’:2, ‘L’:3, ‘M’:4, ‘N’:5, ‘O’:7, ‘P’:8, ‘Q’:1, ‘R’:2,

‘S’:3, ‘T’:4, ‘U’:6, ‘V’:6, ‘W’:6, ‘X’:5, ‘Y’:1, ‘Z’:7

};

function calculateChaldeanName(name) {

let cleanName = name.toUpperCase().replace(/[^A-Z]/g, ”);

let compoundSum = 0;

for (let char of cleanName) {

if (CHALDEAN_MAP[char]) {

compoundSum += CHALDEAN_MAP[char];

}

}

let singleDigit = compoundSum;

while (singleDigit > 9) {

singleDigit = singleDigit.toString().split(”).reduce((a, b) => parseInt(a) + parseInt(b), 0);

}

return { compoundNumber: compoundSum, singleDigit: singleDigit };

}


5. कैलकुलेटर 4: मोबाइल नंबर न्यूमेरोलॉजी एनालाइजर (Mobile Number Engine)

  • इनपुट: 10 अंकों का मोबाइल नंबर
  • एल्गोरिदम:

function analyzeMobileNumber(mobileStr) {

let clean = mobileStr.replace(/\D/g, ”);

if (clean.length !== 10) return { error: “मोबाइल नंबर 10 अंकों का होना चाहिए” };

// कुल योग

let totalSum = clean.split(”).reduce((a, b) => parseInt(a) + parseInt(b), 0);

let singleTotal = totalSum;

while (singleTotal > 9) {

singleTotal = singleTotal.toString().split(”).reduce((a, b) => parseInt(a) + parseInt(b), 0);

}

// 2-अंकीय जोड़ों का निष्कर्षण

let pairs = [];

for (let i = 0; i < clean.length - 1; i++) {

pairs.push(clean.substring(i, i + 2));

}

let luckyPairs = [’15’, ’51’, ’56’, ’65’, ’23’, ’32’, ’24’, ’42’, ’19’, ’91’, ’37’, ’73’, ’33’, ’66’];

let unluckyPairs = [’28’, ’82’, ’47’, ’74’, ’84’, ’48’, ’89’, ’98’, ’18’, ’81’, ’29’, ’92’];

let foundLucky = pairs.filter(p => luckyPairs.includes(p));

let foundUnlucky = pairs.filter(p => unluckyPairs.includes(p));

let lastDigit = clean.slice(-1);

return {

totalSum,

singleTotal,

pairs,

foundLucky,

foundUnlucky,

isZeroEnding: (lastDigit === ‘0’)

};

}


6. कैलकुलेटर 5: पर्सनल ईयर, मंथ व डे प्रेडिक्टर (Predictive Engine)

function calculatePredictiveDates(birthDay, birthMonth, targetYear, targetMonth, targetDay) {

// 1. पर्सनल ईयर

let yearSum = targetYear.toString().split(”).reduce((a, b) => parseInt(a) + parseInt(b), 0);

let rawPy = birthDay + birthMonth + yearSum;

let personalYear = reduceToSingle(rawPy);

// 2. पर्सनल मंथ

let rawPm = personalYear + targetMonth;

let personalMonth = reduceToSingle(rawPm);

// 3. पर्सनल डे

let rawPd = personalMonth + targetDay;

let personalDay = reduceToSingle(rawPd);

return { personalYear, personalMonth, personalDay };

}

function reduceToSingle(n) {

while (n > 9) {

n = n.toString().split(”).reduce((a, b) => parseInt(a) + parseInt(b), 0);

}

return n;

}


7. सारांश

यह फाइल Vikraantworld प्लेटफ़ॉर्म के सभी कैलकुलेटर्स को तुरंत कोड करने के लिए एक पूर्ण और प्रामाणिक एल्गोरिदम प्रदान करती है।

Scroll to Top