پەڕگە:Digits in largest prime found as a function of time.svg

ناوەڕۆکی پەڕە بە زمانەکانی تر پشتگیریی لێ ناکرێت.
لە ئینسایکڵۆپیدیای ئازادی ویکیپیدیاوە

پەڕگەی سەرەکی(پەڕگەی SVG، بە ناو ٥٤٠ × ٤٠٨ پیکسەڵ، قەبارەی پەڕگە: ٥٩ کیلۆبایت)

ئەم پەڕگە لە Wikimedia Commonsەوەیە و لەوانەیە لە پڕۆژەکانی دیکەش بەکار ھاتبێت. پێناسەکەی لەسەر پەڕەی وەسفی پەڕگەکە لە خوارەوە نیشان دراوە.

کورتە

وەسف
English: Plot of the number of digits in largest known prime by year, since the electronic computer. Note that the vertical scale is logarithmic. The green line is the exponential curve of best fit that was followed roughly until 1999; the red curve is a linear fit, more accurate after 1999. Run the source code below to get actual
Русский: График зависимости числа цифр в наибольшем известном простом числе по годам с момента появления первого компьютера. Вертикальная шкала логарифмическая. Зеленая линия - экспоненциальная кривая наилучшего приближения, которой примерно следовал рост числа цифр до 1999 года; красная кривая - это линейная аппроксимация, более точное приближение после 1999 г.
ڕێکەوت
سەرچاوە بەرھەمی خۆم
بەرھەمھێنەر Nicoguaro
وەشانەکانی تر
SVG genesis
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
کۆدی سەرچاوە
InfoField

Python code

"""
import numpy as np
import matplotlib.pyplot as plt
from scipy.optimize import curve_fit
from matplotlib import rcParams

rcParams['font.size'] = 14

# Data
data = np.array([[
            1952,     1952,     1957,     1961,     1961,     1963,
            1963,     1971,     1978,     1979,     1979,     1982,
            1983,     1985,     1989,     1992,     1994,     1996,
            1996,     1997,     1998,     1999,     2001,     2003,
            2004,     2005,     2005,     2006,     2008,     2013,
            2016,     2018,     2018],
       [     157,      687,      969,     1281,     1332,     2917,
            3376,     6002,     6533,     6987,    13395,    25962,
           39751,    65050,    65087,   227832,   258716,   378632,
          420921,   895932,   909526,  2098960,  4053946,  6320430,
         7235733,  7816230,  9152052,  9808358, 12978189, 17425170,
        22338618, 23249425, 24862048]])
year = data[0, :]
primes = data[1, :]

year_of_lin_growth = 1998

plt.plot(year, primes, color="#377eb8", marker=".", drawstyle='steps-post')
plt.yscale('log')
# Fit function
def lin_fun(x, a, b):
    return a*x + b

def exp_fun(x, a, b):
    return np.exp(a*x + b)
    
## Plot the older part which follows exponential growth of digits with time
popt, pcov = curve_fit(lin_fun, year[year <= year_of_lin_growth], np.log(primes[year <= year_of_lin_growth]))
x_vals = np.linspace(np.min(year), year_of_lin_growth, 20)
y_vals = exp_fun(x_vals, *popt)
plt.plot(x_vals, y_vals, color="#1ae41c", linestyle="dashed", label='digit number doubling every {:.1f} y'.format(np.log(2)/popt[0]))
print('Exponential fit (green curve): y = exp({:.4f} * t  +  {:.4f})'.format(*popt))



year_of_lin_growth = 1998
## Plot the newer part which follows linear growth of digits with time
popt, pcov = curve_fit(lin_fun, year[year >= year_of_lin_growth], primes[year >= year_of_lin_growth])
x_vals = np.linspace(year_of_lin_growth, np.max(year), 100)
y_vals = lin_fun(x_vals, *popt)
plt.plot(x_vals, y_vals, color="#e41a1c", linestyle="dashed", label='digit number growing by $10^6$ every {:.2f} y'.format(1e6/popt[0]))
print('Linear fit (red curve): y = {:.4g} * t  +  {:.4g}'.format(*popt))

# Plot details
plt.legend(prop={'size':10})
plt.xlabel("Year")
plt.ylabel("Number of digits in largest known prime")
plt.savefig("Digits_in_largest_found_prime_as_a_function_of_time.svg", bbox_inches="tight")
plt.show()

مۆڵەتنامە

من، ھەڵگری مافی لەبەرگرتنەوەی ئەم بەرھەمە، لەژێر ئەم مۆڵەتنامەیەدا بڵاوی دەکەمەوە:
w:en:Creative Commons
دانەپاڵ
This file is licensed under the Creative Commons Attribution 4.0 International license.
تۆ ئازادی:
  • بۆ بڵاکردنەوە – بۆ کۆپی کردن، دابەشکردن و دەستبەدەست ناردنی
  • بۆ تێکەڵکردنەوە – بۆ سازاندنی کارەکە
بەم مەرجانەی خوارەوە:
  • دانەپاڵ – پێویستە باوەڕی گونجاو بدەیت، بەستەرێک بۆ مۆڵەتەکە دابین بکەیت و ئاماژە بەوە بکەیت کە ئایا گۆڕانکاری کراوە یان نا. دەتوانیت بە هەر شێوەیەکی گونجاو ئەوە بکەیت، بەڵام بە شێوەیەک نا کە وا دەربکەوێت کە مۆڵەتدەر پشتگیری تۆ یان بەکارهێنانەکەت بکات.

لێدوانەکان

Add a one-line explanation of what this file represents

بەندەکانی لەم پەڕگەیەدا دەردەکەون

depicts ئینگلیزی

source of file ئینگلیزی

مێژووی پەڕگە

کرتە بکە لەسەر یەکێک لە ڕێکەوت/کاتەکان بۆ بینینی پەڕگەکە بەو شێوەی لەو کاتەدا بووە.

ڕێکەوت/کاتھێمائەندازەبەکارھێنەرتێبینی
هەنووکە‏١٢:٠٩، ٢٢ی ئابی ٢٠٢٠ھێما بۆ وەشانی  ‏١٢:٠٩، ٢٢ی ئابی ٢٠٢٠٥٤٠ لە ٤٠٨ (٥٩ کیلۆبایت)Gap9551fixed error in linear rate (red line fit) in legend
‏١١:٤٦، ٢٢ی ئابی ٢٠٢٠ھێما بۆ وەشانی  ‏١١:٤٦، ٢٢ی ئابی ٢٠٢٠٥٤٠ لە ٤٠٨ (٥٩ کیلۆبایت)Gap9551Reverted to version as of 11:22, 22 August 2020 (UTC) file appears fine now
‏١١:٣٩، ٢٢ی ئابی ٢٠٢٠ھێما بۆ وەشانی  ‏١١:٣٩، ٢٢ی ئابی ٢٠٢٠٥٤٠ لە ٤٠٨ (٥٩ کیلۆبایت)Gap9551another attempt to upload file with 4.3 yr doubling time. the previous upload did not overwrite the existing file.
‏١١:٢٢، ٢٢ی ئابی ٢٠٢٠ھێما بۆ وەشانی  ‏١١:٢٢، ٢٢ی ئابی ٢٠٢٠٥٤٠ لە ٤٠٨ (٥٩ کیلۆبایت)Gap9551doubling time fixed in legend
‏١٣:١٧، ٢٤ی حوزەیرانی ٢٠٢٠ھێما بۆ وەشانی  ‏١٣:١٧، ٢٤ی حوزەیرانی ٢٠٢٠٥٤٠ لە ٤٠٩ (٥٦ کیلۆبایت)FDominecUpdated datasets to 2020; added exponential and linear portions of the curve fit.
‏٢٠:٣٠، ١٣ی ئەیلوولی ٢٠١٦ھێما بۆ وەشانی  ‏٢٠:٣٠، ١٣ی ئەیلوولی ٢٠١٦٦٥٩ لە ٥٠٤ (٦٣ کیلۆبایت)NicoguaroUser created page with UploadWizard

ئەم پەڕەیە ئەم پەڕگەیە بەکار دەھێنێت:

بەکارھێنانی سەرانسەریی پەڕگە

ئەم ویکیانەی دیکەی خوارەوەش ئەم پەڕگە بەکاردێنن:

دراوی مێتا