Literature DB >> 28932773

Datasets on the statistical and algebraic properties of primitive Pythagorean triples.

Hilary I Okagbue1, Muminu O Adamu2, Pelumi E Oguntunde1, Abiodun A Opanuga1, Enahoro A Owoloko1, Sheila A Bishop1.   

Abstract

The data in this article was obtained from the algebraic and statistical analysis of the first 331 primitive Pythagorean triples. The ordered sample is a subset of the larger Pythagorean triples. A primitive Pythagorean triple consists of three integers a, b and c such that; [Formula: see text]. A primitive Pythagorean triple is one which the greatest common divisor (gcd), that is; [Formula: see text] or a, b and c are coprime, and pairwise coprime. The dataset describe the various algebraic and statistical manipulations of the integers a, b and c that constitute the primitive Pythagorean triples. The correlation between the integers at each analysis was included. The data analysis of the non-normal nature of the integers was also included in this article. The data is open to criticism, adaptation and detailed extended analysis.

Entities:  

Keywords:  Correlation; Normality test; Primitive Pythagorean triples; Pythagorean triples; Skewness; Statistics

Year:  2017        PMID: 28932773      PMCID: PMC5596336          DOI: 10.1016/j.dib.2017.08.021

Source DB:  PubMed          Journal:  Data Brief        ISSN: 2352-3409


Specifications Table Value of the data The data provides the descriptive statistics of the primitive Pythagorean triples The data when completely analyzed can provide insight on the various patterns that characterizes the primitive Pythagorean triples. The data analysis can be applied to other known numbers. That is the study of probability distribution of numbers. The data can provide more clues on the normal or non-normal nature of similar numbers.

Data

The data in this article is a description of some observed algebraic and statistical properties of the integers that constitute the primitive Pythagorean triples. Correlation between the pairs of the integers was investigated and different nature and strength of relationships were obtained. The line plots were used to visualize the patterns of distribution of variability of the integers. The detailed description and the contents of the data are contained in different sub sections.

The descriptive statistics of the integers a, b and c

The description statistics and the differences between the ordered pairs of the integers that make up the primitive Pythagorean triples can be assessed as Supplementary Data 1. Scatter plots of the three positive integers and the differences between each pair that constitute the primitive Pythagorean triples and the mean plots are shown in Supplementary Data 2. The mean is monotone increasing. Variance is the measure of variability or deviation from the mean or median. The line plots of the variance and skewness of the primitive Pythagorean triples are shown in Supplementary Data 3. The variance is increasing as the ordered sample size increases. Different types of correlation coefficients for the integers a, b and c of the primitive Pythagorean triples were obtained and shown in Table 1. There are strong positive correlations between b and c and moderate positive correlation between a and b, and a and c.
Table 1

Correlation coefficients of a, b and c.

Correlation coefficientbc
aPearson correlation0.5350.682
Kendall's tau0.4270.535
Spearman's rho0.5830.699









bPearson correlation0.981
Kendall's tau0.893
Spearman's rho0.983
Correlation coefficients of a, b and c. Different types of correlation coefficients for the integers (b–a, c–b and c–a) of the primitive Pythagorean triples were obtained and shown in Table 2. Increase or decrease in (b–a) leads to decrease or increase in (c–b). However, (c–a) and (b–a) are strongly positively correlated.
Table 2

Correlation coefficients of b–a, c–b and c–a.

Correlation coefficientc-bc-a
b–aPearson correlation−0.2970.965
Kendall's tau−0.1500.826
Spearman's rho−0.2010.940
c–bPearson correlation−0.037
Kendall's tau0.042
Spearman's rho0.057
Correlation coefficients of b–a, c–b and c–a.

The trigonometric integers of the primitive Pythagorean triples

The trigonometric aspects of the integers a, b and c that constitute the primitive Pythagorean triples were considered. The details are shown in Supplementary Data 4. The summary of scatter plots of the sine, cosine and tangent of a, b and c are shown in Supplementary Data 5. Different types of correlation coefficients for the trigonometric values of integers a, b and c of the primitive Pythagorean triples were obtained and shown in Table 3, Table 4, Table 5. Weak correlations were the results.
Table 3

Correlation coefficients of sine a, sine b and sine c.

Correlation coefficientsine bsine c
sine aPearson correlation0.033−0.021
Kendall's tau0.022−0.025
Spearman's rho0.032−0.038









sine bPearson correlation0.400
Kendall's tau0.265
Spearman's rho0.378
Table 4

Correlation coefficients of cosine a, cosine b and cosine c.

Correlation coefficientcosine bcosine c
cosine aPearson correlation0.005−0.036
Kendall's tau0.008−0.016
Spearman's rho0.009−0.025









cosine bPearson correlation0.341
Kendall's tau0.240
Spearman's rho0.333
Table 5

Correlation coefficients of tangent a, tangent b and tangent c.

Correlation coefficienttangent btangent c
tangent aPearson correlation−0.016−0.064
Kendall's tau−0.0390.000
Spearman's rho−0.0590.007









tangent bPearson correlation0.011
Kendall's tau0.212
Spearman's rho0.282
Correlation coefficients of sine a, sine b and sine c. Correlation coefficients of cosine a, cosine b and cosine c. Correlation coefficients of tangent a, tangent b and tangent c.

The hyperbolic transformations of integers of the primitive Pythagorean triples

The hyperbolic aspects of the integers a, b and c that constitute the Primitive Pythagorean triples were considered. The details are shown in Supplementary Data 6. The summary of scatter plots of the sinh, cosh and tanh of a, b and c are shown in Supplementary Data 7. Different types of correlation coefficient for the hyperbolic values of integers a, b and c of the primitive Pythagorean triples were obtained and shown in Table 6, Table 7, Table 8. The correlations are weak with the exception of hyperbolic of b and c.
Table 6

Correlation coefficients of sinh a, sinh b and sinh c.

Correlation coefficientsinh bsinh c
sin h aPearson correlation−0.0150.323
Kendall's tau0.4270.535
Spearman's rho0.5830.699









sin h bPearson correlation0.468
Kendall's tau0.893
Spearman's rho0.983
Table 7

Correlation coefficients of cosh a, cosh b and cosh c.

Correlation coefficientcosh bcosh c
cos h aPearson correlation−0.0150.323
Kendall's tau0.4270.535
Spearman's rho0.5830.699









cos h bPearson correlation0.468
Kendall's tau0.893
Spearman's rho0.983
Table 8

Correlation coefficients of tan h a, tan h b and tan h c.

Correlation coefficienttan h btan h c
tan h aPearson correlation0.6400.638
Kendall's tau0.5050.536
Spearman's rho0.6150.645









tan h bPearson correlation0.995
Kendall's tau0.935
Spearman's rho0.962
Correlation coefficients of sinh a, sinh b and sinh c. Correlation coefficients of cosh a, cosh b and cosh c. Correlation coefficients of tan h a, tan h b and tan h c.

The logarithmic and exponential transformations of integers of the primitive Pythagorean triples

The logarithmic and exponential aspects of the integers a, b and c that constitute the Primitive Pythagorean triples were considered. The details are shown in Supplementary Data 8. The summary of scatter plots of the log, natural log and exponential of the inverse of a, b and c are shown in Supplementary Data 9. Different types of correlation coefficient for the logarithmic, natural log and exponential values of integers a, b and c of the primitive Pythagorean triples were obtained and shown in Tables 9–11. Strong positive correlations are the results.
Table 11

Correlation coefficients of exp 1/a, exp 1/b and exp 1/c.

Correlation coefficientexp 1/bexp 1/c
exp 1/aPearson correlation0.8930.920
Kendall's tau0.4270.535
Spearman's rho0.5830.699









exp 1/bPearson correlation0.998
Kendall's tau0.893
Spearman's rho0.983
Correlation coefficients of log a, log b and log c. Correlation coefficients of ln a, ln b and ln c. Correlation coefficients of exp 1/a, exp 1/b and exp 1/c.

The digital sum and digital root (iterative digits sum) of the integers of the primitive Pythagorean triples

The digital sum and iterative digits sum of the integers that constitute the primitive Pythagorean triples were considered. The details are shown in Supplementary Data 10. The summary of scatter plots of the digital sum and iterative digits sum of a, b and c is shown in Supplementary Data 11. Different types of correlation coefficient for the digital sum and iterative digits sum values of integers a, b and c of the primitive Pythagorean triples were obtained and shown in Table 12, Table 13. Weak correlations are the main results here.
Table 12

Correlation coefficients of digital sum of a, b and c.

Correlation coefficientDigits sum bDigits sum c
Digits sum aPearson correlation0.1470.139
Kendall's tau0.1200.098
Spearman's rho0.1650.139









Digits sum bPearson correlation0.283
Kendall's tau0.225
Spearman's rho0.294
Table 13

Correlation coefficients of Iterative digits sum of a, b and c.

Correlation coefficientIterative digits sum bIterative digits sum c
Iterative digits sum aPearson correlation−0.0810.007
Kendall's tau−0.0620.008
Spearman's rho−0.0830.010









Iterative digits sum bPearson correlation0.028
Kendall's tau0.024
Spearman's rho0.026
Correlation coefficients of digital sum of a, b and c. Correlation coefficients of Iterative digits sum of a, b and c.

Test of normality for a, b and c

Normality tests are conducted to show how well the given data is fitted by normal distribution and the likelihood of the random variables that defined the given data is normally distributed. The data was subjected to some frequentist tests and the results are shown in Table 14, Table 15, Table 16. The null hypothesis implies normality while the alternative implies otherwise.
Table 14

Test of normality for a.

TestDetailsDecision
Kolmogorov-Smirnov testStatistic=0.123,pvalue=0.000Accept alternative hypothesis
Shapiro-Wilk testStatistic=0.902,pvalue=0.000Accept alternative hypothesis
Jarque-Bera Normality testJB=45.216>4.605=χ0.01,22Accept alternative hypothesis
D’Agostino Skewness testskew=0.90526,Z=5.96690Accept alternative hypothesis, data have a skewness
pvalue=0.0000
Geary Kurtosis test0.82582830.7979Accept alternative hypothesis
Anscombe-Glynn kurtosis testkurtosis=2.97770,Z=0.10578Accept alternative hypothesis, kurtosis is not equal to 3
pvalue=0.9158
Anderson-Darling testpvalue<0.001Accept alternative hypothesis
Lilliefors-van Soest testpvalue<0.01Accept alternative hypothesis
Cramer-von Mises testpvalue<0.005Accept alternative hypothesis
Ryan-Joiner testpvalue<0.010Accept alternative hypothesis
Table 15

Test of normality for b.

TestDetailsDecision
Kolmogorov-Smirnov testStatistic=0.065,pvalue=0.002Accept alternative hypothesis
Shapiro-Wilk testStatistic=0.963,pvalue=0.000Accept alternative hypothesis
Jarque-Bera Normality testJB=17.231>4.605=χ0.01,22Accept alternative hypothesis
D’Agostino Skewness testskew=0.077656,Z=0.588370Accept alternative hypothesis, data have a skewness
pvalue=0.5563
Geary Kurtosis test0.85888650.7979Accept alternative hypothesis
Anscombe-Glynn kurtosis testkurtosis=1.8931,Z=10.3490Accept alternative hypothesis, kurtosis is not equal to 3
pvalue=0.0000
Anderson-Darling testpvalue<0.001Accept alternative hypothesis
Lilliefors-van Soest testpvalue<0.01Accept alternative hypothesis
Cramer-von Mises testpvalue<0.005Accept alternative hypothesis
Ryan-Joiner testpvalue<0.010Accept alternative hypothesis
Table 16

Test of normality for c.

TestDetailsDecision
Kolmogorov-Smirnov testStatistic=0.065,pvalue=0.002Accept alternative hypothesis
Shapiro-Wilk testStatistic=0.955,pvalue=0.000Accept alternative hypothesis
Jarque-Bera Normality testJB=19.681>4.605=χ0.01,22Accept alternative hypothesis
D’Agostino Skewness testskew=0.0012575,Z=0.0095410Accept alternative hypothesis, data have a skewness
pvalue=0.9924
Geary Kurtosis test0.86431990.7979Accept alternative hypothesis
Anscombe-Glynn kurtosis testkurtosis=1.8054,Z=13.3610Accept alternative hypothesis, kurtosis is not equal to 3
pvalue=0.0000
Anderson-Darling testpvalue<0.001Accept alternative hypothesis
Lilliefors-van Soest testpvalue<0.01Accept alternative hypothesis
Cramer-von Mises testpvalue<0.005Accept alternative hypothesis
Ryan-Joiner testpvalue<0.010Accept alternative hypothesis
Test of normality for a. Test of normality for b. Test of normality for c.

Experimental design, materials and methods

Primitive Pythagorean triples are one of the most popular number sequences in number theory which has been studied over time [1], [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12].

Descriptive statistics

The mean, skewness, range and variance distribution was obtained for the first 331 terms of the sequence. The same statistics were obtained for the trigonometric, hyperbolic, logarithm, natural logarithm, exponential, digital root and iterative digits sum of the integers. Different data was obtained for each of the process. The descriptive analysis of the digital sum and iterative digits sum can be obtained from the analysis. Similar pattern of analysis of digits sum can be seen in [13], [14], [15], [16]. In addition, the algebraic properties were also analyzed.

Correlation

Three different types of correlation coefficient were computed for all integers at the different processes. They are; Pearson product moment correlation coefficient [17], Kendall's tau correlation coefficient [18] and Spearman rank correlation coefficient [19]. In addition, three dimensional scatter plots were obtained for all the difference between the integers that constitute the primitive Pythagorean triples.

Tests of normality

Normality tests were conducted for the integers a, b and c of the first 331 Primitive Pythagorean triples. Normality tests indicated non-normality but with different degrees. Normality tests used are: Kolmogorov-Smirnov test [20], Shapiro-Wilk test [21], Jarque-Bera Normality test [22], D’Agostino Skewness test [23], Geary Kurtosis test [24], Anscombe-Glynn kurtosis test [25], Anderson-Darling test [26], Lilliefors-van Soest test [27], [28], Cramer-von Mises test [29], and Ryan-Joiner test [30]. The summary of the analysis is available in [31]. Similar analysis can be obtained for the sum of digits of cubed integers, sum of winning integers in lotto and other numbers such as Fibonacci, Lucas, Happy, Weird, magic, Niven, Sophie Germain and so on [32], [33], [34], [35], [36], [37], [38], [39].
Subject areaMathematics
More specific subject areaNumber Statistics
Type of dataTables and Figures
How data was acquiredThe raw data is available in mathematical literature.
Data formatAnalyzed
Experimental factorsNegative and non-primitive Pythagorean triples and negative were not considered.
Experimental featuresCorrelation coefficient, Normality tests.
Data source locationCovenant University Mathematics Laboratory, Ota, Nigeria
Data accessibilityAll the data are in this data article
Table 9

Correlation coefficients of log a, log b and log c.

Correlation coefficientlog blog c
log aPearson correlation0.7080.766
Kendall's tau0.4270.535
Spearman's rho0.5830.699









log bPearson correlation0.995
Kendall's tau0.893
Spearman's rho0.983
Table 10

Correlation coefficients of ln a, ln b and ln c.

Correlation coefficientln bln c
ln aPearson correlation0.7080.766
Kendall's tau0.4270.535
Spearman's rho0.5830.699









ln bPearson correlation0.995
Kendall's tau0.893
Spearman's rho0.983
  2 in total

1.  Testing for normality.

Authors:  R C GEARY
Journal:  Biometrika       Date:  1947       Impact factor: 2.445

2.  Exploration of UK Lotto results classified into two periods.

Authors:  Hilary I Okagbue; Muminu O Adamu; Pelumi E Oguntunde; Abiodun A Opanuga; Manoj K Rastogi
Journal:  Data Brief       Date:  2017-07-20
  2 in total
  4 in total

1.  Datasets on the statistical properties of the first 3000 squared positive integers.

Authors:  Hilary I Okagbue; Muminu O Adamu; Pelumi E Oguntunde; Abiodun A Opanuga; Ayodele A Adebiyi; Sheila A Bishop
Journal:  Data Brief       Date:  2017-10-06

2.  Survey dataset on analysis of queues in some selected banks in Ogun State, Nigeria.

Authors:  Sheila A Bishop; Hilary I Okagbue; Pelumi E Oguntunde; Abiodun A Opanuga; Oluwole A Odetunmibi
Journal:  Data Brief       Date:  2018-05-24

3.  Datasets on factors influencing trading on pedestrian bridges along Ikorodu road, Lagos, Nigeria.

Authors:  Olabisi O Ajakaiye; Hammed A Afolabi; Adedotun O Akinola; Hilary I Okagbue; Omoniyi O Olagunju; Olufumilayo O Adetoro
Journal:  Data Brief       Date:  2018-06-22

4.  Survey dataset on the types, prevalence and causes of deviant behavior among secondary school adolescents in some selected schools in Benin City, Edo State, Nigeria.

Authors:  Sheila A Bishop; Hilary I Okagbue; Olumuyiwa A Oludayo; Olasunmbo O Agboola; Michael C Agarana; Muminu O Adamu
Journal:  Data Brief       Date:  2018-07-27
  4 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.