five

kececinumbers

收藏
DataCite Commons2025-08-03 更新2026-02-09 收录
下载链接:
https://figshare.com/articles/dataset/kececinumbers/29816414
下载链接
链接失效反馈
官方服务:
资源简介:
Keçeci Numbers: Keçeci SayılarıDescription / Açıklama<b>Keçeci Numbers (Keçeci Sayıları)</b>: Keçeci Numbers; An Exploration of a Dynamic Sequence Across Diverse Number Sets: This work introduces a novel numerical sequence concept termed "Keçeci Numbers." Keçeci Numbers are a dynamic sequence generated through an iterative process, originating from a specific starting value and an increment value. In each iteration, the increment value is added to the current value, and this "added value" is recorded in the sequence. Subsequently, a division operation is attempted on this "added value," primarily using the divisors 2 and 3, with the choice of divisor depending on the one used in the previous step. If division is successful, the quotient becomes the next element in the sequence. If the division operation fails, the primality of the "added value" (or its real/scalar part for complex/quaternion numbers, or integer part for rational numbers) is checked. If it is prime, an "Augment/Shrink then Check" (ASK) rule is invoked: a type-specific unit value is added or subtracted (based on the previous ASK application), this "modified value" is recorded in the sequence, and the division operation is re-attempted on it. If division fails again, or if the number is not prime, the "added value" (or the "modified value" post-ASK) itself becomes the next element in the sequence. This mechanism is designed to be applicable across various number sets, including positive and negative real numbers, complex numbers, floating-point numbers, rational numbers, and quaternions. The increment value, ASK unit, and divisibility checks are appropriately adapted for each number type. This flexibility of Keçeci Numbers offers rich potential for studying their behavior in different numerical systems. The patterns exhibited by the sequences, their convergence/divergence properties, and potential for chaotic behavior may constitute interesting research avenues for advanced mathematical analysis and number theory applications. This study outlines the fundamental generation mechanism of Keçeci Numbers and their initial behaviors across diverse number sets.Installation / Kurulum<pre>conda install bilgi::kececinumbers -y<br><br>pip install kececinumbers</pre>https://anaconda.org/bilgi/kececinumbershttps://pypi.org/project/kececinumbers/https://github.com/WhiteSymmetry/kececinumbershttps://zenodo.org/records/15377660https://zenodo.org/records/Usage / KullanımExample<pre>import matplotlib.pyplot as plt<br>import kececinumbers as kn<br><br>print("--- Interactive Test ---")<br><br># Adım 1: get_interactive'ten tüm verileri al<br># Not: Fonksiyon artık birden fazla değer döndürüyor.<br>interactive_results = kn.get_interactive()<br><br># Fonksiyon bir dizi döndürdüyse (başarılıysa) devam et<br>if interactive_results and interactive_results[0]:<br> # Dönen değerleri değişkenlere ata<br> seq_interactive, type_choice, start_val, add_val, steps = interactive_results<br> <br> # Tip numarasını isme çevirelim<br> type_names = [<br> "Positive Real", "Negative Real", "Complex", "Float", "Rational", <br> "Quaternion", "Neutrosophic", "Neutro-Complex", "Hyperreal", <br> "Bicomplex", "Neutro-Bicomplex"<br> ]<br> type_name = type_names[type_choice - 1]<br><br> # Adım 2: Ayrıntılı raporu yazdır<br> params = {<br> 'type_choice': type_choice,<br> 'type_name': type_name,<br> 'start_val': start_val,<br> 'add_val': add_val,<br> 'steps': steps<br> }<br> kn.print_detailed_report(seq_interactive, params)<br> <br> # Adım 3: Grafiği SADECE BİR KERE çizdir<br> print("\nDisplaying plot...")<br> plot_title = f"Interactive Keçeci Sequence ({type_name})"<br> kn.plot_numbers(seq_interactive, plot_title)<br> plt.show()<br><br>else:<br> print("Sequence generation was cancelled or failed.")</pre><pre>import matplotlib.pyplot as plt<br>import random<br>import numpy as np<br>import math<br>from fractions import Fraction<br>import quaternion # pip install numpy numpy-quaternion<br>import kececinumbers as kn<br><br># Matplotlib grafiklerinin notebook içinde gösterilmesini sağla<br>%matplotlib inline<br><br>print("Trying interactive mode (will prompt for input in the console/output area)...")<br>interactive_sequence = kn.get_interactive()<br>if interactive_sequence:<br> kn.plot_numbers(interactive_sequence, title="Keçeci Numbers")<br><br>print("Done with examples.")<br>print("Keçeci Numbers Module Loaded.")<br>print("This module provides functions to generate and plot Keçeci Numbers.")<br>print("Example: Use 'import kececinumbers as kn' in your script/notebook.")<br>print("\nAvailable functions:")<br>print("- kn.get_interactive()")<br>print("- kn.get_with_params(kececi_type, iterations, ...)")<br>print("- kn.get_random_type(iterations, ...)")<br>print("- kn.plot_numbers(sequence, title)")<br>print("- kn.unified_generator(...) (low-level)")<br>print("\nAccess definitions with: kn.DEFINITIONS")<br>print("\nAccess type constants like: kn.TYPE_COMPLEX")</pre>Trying interactive mode (will prompt for input in the console/output area)...Keçeci Number Types:1: Positive Real Numbers (Integer: e.g., 1)2: Negative Real Numbers (Integer: e.g., -3)3: Complex Numbers (e.g., 3+4j)4: Floating-Point Numbers (e.g., 2.5)5: Rational Numbers (e.g., 3/2, 5)6: Quaternions (scalar start input becomes q(s,s,s,s): e.g., 1 or 2.5)7: Neutrosophic8: Neutro-Complex9: Hyperreal10: Bicomplex11: Neutro-BicomplexPlease select Keçeci Number Type (1-11): 1Enter the starting number (e.g., 0 or 2.5, complex:3+4j, rational: 3/4, quaternions: 1) : 0Enter the base scalar value for increment (e.g., 9): 9Enter the number of iterations (positive integer: e.g., 30): 30Keçeci Prime Number<pre>import matplotlib.pyplot as plt<br>import kececinumbers as kn<br><br><br>print("--- Interactive Test ---")<br>seq_interactive = kn.get_interactive()<br>if seq_interactive:<br> kn.plot_numbers(seq_interactive, "Keçeci Numbers")<br><br>print("\n--- Random Type Test (60 Keçeci Steps) ---")<br># num_iterations burada Keçeci adımı sayısıdır<br>seq_random = kn.get_random_type(num_iterations=60) <br>if seq_random:<br> kn.plot_numbers(seq_random, "Random Type Keçeci Numbers")<br><br>print("\n--- Fixed Params Test (Complex, 60 Keçeci Steps) ---")<br>seq_fixed = kn.get_with_params(<br> kececi_type_choice=kn.TYPE_COMPLEX, <br> iterations=60, <br> start_value_raw="1+2j", <br> add_value_base_scalar=3.0<br>)<br>if seq_fixed:<br> kn.plot_numbers(seq_fixed, "Fixed Params (Complex) Keçeci Numbers")<br><br># İsterseniz find_kececi_prime_number'ı ayrıca da çağırabilirsiniz:<br>if seq_fixed:<br> kpn_direct = kn.find_kececi_prime_number(seq_fixed)<br> if kpn_direct is not None:<br> print(f"\nDirect call to find_kececi_prime_number for fixed numbers: {kpn_direct}")</pre>Generated Keçeci Sequence (first 20 of 121): [4, 11, 12, 4, 11, 10, 5, 12, 4, 11, 12, 6, 13, 12, 4, 11, 12, 6, 13, 12]... Keçeci Prime Number for this sequence: 11--- Random Type Test (60 Keçeci Steps) ---Randomly selected Keçeci Number Type: 1 (Positive Integer)Generated Keçeci Sequence (using get_with_params, first 20 of 61): [0, 9, 3, 12, 6, 15, 5, 14, 7, 16, 8, 17, 18, 6, 15, 5, 14, 7, 16, 8]... Keçeci Prime Number for this sequence: 17
提供机构:
figshare
创建时间:
2025-08-03
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作