8 kyu

Fermat was wrong

Description:

Fermat was wrong

This Kata was generously donated by Prof. Kevin Buzzard of Imperial College London (@kbuzzard on Codewars).

... Yep, you read that right. Fermat once conjectured that 2^2^n + 1 was always prime. Now you're gonna prove him wrong.

Preloaded

The full source code of Preloaded.lean is displayed below for your reference:

import data.nat.prime

def SUBMISSION := ¬ ( n : ℕ, nat.prime (2^2^n + 1))
notation `SUBMISSION` := SUBMISSION
Mathematics
Theorem Proving
Fundamentals

Stats:

CreatedApr 6, 2020
PublishedApr 6, 2020
Warriors Trained376
Total Skips19
Total Code Submissions280
Total Times Completed80
Lean Completions80
Total Stars1
% of votes with a positive feedback rating94% of 18
Total "Very Satisfied" Votes17
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes1
Total Rank Assessments3
Average Assessed Rank
8 kyu
Highest Assessed Rank
8 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • donaldsebleung Avatar
  • Unnamed Avatar
  • Madjosz Avatar
  • monadius Avatar
Ad