Skip to content

Instantly share code, notes, and snippets.

View Jeet1994's full-sized avatar
:electron:
Running fast!

Pragyaditya Das Jeet1994

:electron:
Running fast!
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jeet1994
Jeet1994 / Catalan's Conjecture - A learning exercise for the bored mind : 2.md
Last active August 24, 2018 12:15
Catalan's Conjecture - A learning exercise for the bored mind : 2

Before we move to Mihailescu's proof, let us cover some more mathematical concepts (so that we feel superior to the people around us, just kidding 😄),

There is an interesting theorem that Mihailescu uses in his proof, called the Stickelberger's theorem,


Stickelberger's theorem:

This is a result of algebraic number theory, which gives more information about Galois Module structure of class groups of Cyclotomic Fields. This theorem consists of Stickelberger's element and Stickelberger's ideal. I will now state the complete definition of the theorem and then visit its corners as we move along,

@Jeet1994
Jeet1994 / NodGenes.csv
Created February 12, 2017 19:09 — forked from LeahBriscoe/NodGenes.csv
Sample Data for "Make a Heatmap on R Studio"
Gene nodU nodS nodU/nodO nodD nodC2 nodB nodA nodI nodJ nodC1 nodH
Burkholderia 1 100 100 100 100 100 100 100 100 100 100 0
Burkholderia 2 99 98 98 94 90 94 98 98 96 87 0
Burkholderia 3 99 97 98 93 89 95 99 96 97 88 0
Burkholderia 4 98 94 96 99 79 94 98 96 94 89 0
Burkholderia 5 81 67 40 70 76 60 73 71 77 70 72
Burkholderia 6 80 66 39 69 76 60 73 70 77 70 69
Burkholderia 7 76 65 40 71 63 57 75 72 79 67 100
Burkholderia 8 76 69 40 72 63 56 75 74 79 66 94
Burkholderia 9 75 71 40 68 71 72 70 71 76 71 66
@Jeet1994
Jeet1994 / transferFun.m
Created November 12, 2016 10:03
Basic MATLAB for a control system enthusiast.
>> G = tf([1], [1 1 1])
G =
1
-----------
s^2 + s + 1
Continuous-time transfer function.
@Jeet1994
Jeet1994 / FinalCode.R
Created November 8, 2016 07:07
Add documentation for BenfScore
#' Benford Score function
#'
#' Facilitates finding the Benford Score of a number using Benford Law.
#' @param i First digit of a number
#' @keywords Benford law
#' @export
#' @examples
#' BenfScore()
BenfScore <- function(i){
@Jeet1994
Jeet1994 / Run.R
Created November 8, 2016 06:39
Run function
#After running the function.R,
#type,
BenfScore(1)
@Jeet1994
Jeet1994 / Function.R
Created November 8, 2016 06:37
Benford Score
BenfScore <- function(i){
P <- (log10(1+(1/i)))*100
return(P) #Gives the percentage output.
}
@Jeet1994
Jeet1994 / Load.R
Created November 8, 2016 06:18
Loading the packages
library(devtools)
library(roxygen2)
@Jeet1994
Jeet1994 / Setup.R
Last active November 8, 2016 06:15
Necessary packages for making an R package.
options(download.file.method="libcurl") #I do this line to handle any internet related errors.
install.packages("devtools")
#wait till it gets installed
#Now, run the line below
install.packages("roxygen2")