לדלג לתוכן

קובץ:Graphe des nombres polydivisibles.svg

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

לקובץ המקורי(קובץ SVG, הגודל המקורי: 720 × 540 פיקסלים, גודל הקובץ: 40 ק"ב)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.

תקציר

תיאור
Français : En mathématiques, un nombre polydivisible est un entier naturel s'écrivant avec les chiffres a b c d e ..., qui possède les propriétés suivantes :
  1. Son premier chiffre a n'est pas 0.
  2. Le nombre formé par ses deux premiers chiffres a b est un multiple de 2.
  3. Le nombre formé par ses trois premiers chiffres a b c est un multiple de 3.
  4. Le nombre formé par ses quatre premiers chiffres a b c d est un multiple de 4.
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר Guillaume Jacquenot
SVGהתפתחות 
InfoField
 
קוד המקור של קובץ SVG זה הוא לא תקין בגלל שגיאה.
 
Matplotlib עם‎‎ נוצרה ה W3C-לא תקין גרפיקה וקטורית
קוד מקור
InfoField

Python code

# -*- coding: utf-8 -*-
# 
# Script to generate in English and French, graphs for the
# birthday problem.
#
# **************************************************************
# http://en.wikipedia.org/wiki/Polydivisible_number
# From Wikipedia, the free encyclopedia:
# In mathematics a polydivisible number is a number with digits
# abcde... that has the following properties :
# 
# Its first digit a is not 0.
# The number formed by its first two digits ab is a multiple of 2.
# The number formed by its first three digits abc is a multiple of 3.
# The number formed by its first four digits abcd is a multiple of 4.
# etc.
#
# Text under the
# Creative Commons Attribution-ShareAlike License
# **************************************************************
#
# Guillaume Jacquenot
# 2013/05/01

from pylab import *
import numpy as np

def getData():
    r=np.array(
        [[ 1,     9,    9],
         [ 2,    45,   45],
         [ 3,   150,  150],
         [ 4,   375,  375],
         [ 5,   750,  750],
         [ 6,  1200, 1250],
         [ 7,  1713, 1786],
         [ 8,  2227, 2232],
         [ 9,  2492, 2480],
         [10,  2492, 2480],
         [11,  2225, 2255],
         [12,  2041, 1879],
         [13,  1575, 1445],
         [14,  1132, 1032],
         [15,   770,  688],
         [16,   571,  430],
         [17,   335,  253],
         [18,   180,  141],
         [19,    90,   74],
         [20,    44,   37],
         [21,    18,   17],
         [22,    12,    8],
         [23,     6,    3],
         [24,     3,    1],
         [25,     1,    1]])
    return r

def makePlot(\
        generateEnglishPlot = True,\
        outputFilename = 'Graph_of_polydivisible_number.svg'):
    if generateEnglishPlot:
        xlabel_ = 'n Number of digits'
        ylabel_ = 'Number of polydivisible numbers'
        leg1 = 'F(n)'
        leg2 = 'Estimate of F(n)'
    else:
        xlabel_ = 'n Nombre de digits'
        ylabel_ = 'Nombre de nombres polydivisibles'
        leg1 = 'F(n)'
        leg2 = 'Estimée de F(n)'
    r=getData()
    plot(r[:,0], r[:,1], marker = 'o', label = unicode(leg1, 'utf8'))
    plot(r[:,0], r[:,2], marker = '^', label = unicode(leg2, 'utf8'))
    grid(True, ls='-', c='#a0a0a0')
    legend(loc='right')
    xlabel(xlabel_)
    ylabel(ylabel_)
    savefig(outputFilename)
    show()

makePlot(generateEnglishPlot = True, outputFilename = 'Graph_of_polydivisible_number.svg')
makePlot(generateEnglishPlot = False, outputFilename = 'Graphe_des_nombres_polydivisibles.svg')

רישיון

אני, בעל זכויות היוצרים על עבודה זו, מפרסם בזאת את העבודה תחת הרישיון הבא:
w:he:Creative Commons
ייחוס שיתוף זהה
הקובץ הזה מתפרסם לפי תנאי רישיון קריאייטיב קומונז ייחוס-שיתוף זהה 3.0 לא מותאם.
הנכם רשאים:
  • לשתף – להעתיק, להפיץ ולהעביר את העבודה
  • לערבב בין עבודות – להתאים את העבודה
תחת התנאים הבאים:
  • ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
  • שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית22:36, 1 במאי 2013תמונה ממוזערת לגרסה מ־22:36, 1 במאי 2013‪540 × 720‬ (40 ק"ב)GjacquenotUser created page with UploadWizard

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ

אתרי הוויקי השונים הבאים משתמשים בקובץ זה:

מטא־נתונים