-
Notifications
You must be signed in to change notification settings - Fork 210
feat(OEIS): A056777 #1867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat(OEIS): A056777 #1867
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c06e62c
feat(OEIS): A056777
rwst 4bdcf23
Update FormalConjectures/OEIS/056777.lean
rwst 59998ea
Update FormalConjectures/OEIS/056777.lean
rwst 4827864
fixes
rwst ce51f00
implement comments
rwst 976900c
improve intro
rwst 058a1c5
move
rwst 84af5ca
Update FormalConjectures/OEIS/56777.lean
rwst 564e796
Update FormalConjectures/OEIS/56777.lean
rwst 2c9f942
Update FormalConjectures/OEIS/56777.lean
rwst 5e2130f
address comments
rwst 57491a1
address comments
rwst 1acca26
Update FormalConjectures/OEIS/56777.lean
rwst 510dd07
Update FormalConjectures/OEIS/56777.lean
rwst fe0822c
address comments
rwst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| /- | ||
| Copyright 2026 The Formal Conjectures Authors. | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| -/ | ||
| import FormalConjectures.Util.ProblemImports | ||
|
|
||
| open scoped ArithmeticFunction | ||
|
|
||
| /-! | ||
| # **Conjectures associated with A056777** | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| A056777 lists composite numbers $n$ satisfying both $\varphi(n+12) = \varphi(n) + 12$ and | ||
| $\sigma(n+12) = \sigma(n) + 12$. | ||
|
|
||
| The conjectures state identities connecting A056777 and prime quadruples (A007530), as | ||
| well as congruences satisfied by the members of A056777. | ||
|
|
||
| *References:* [oeis.org/A056777](https://oeis.org/A056777) | ||
| -/ | ||
|
|
||
| namespace OeisA056777 | ||
|
|
||
rwst marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| /-- A composite number $n$ is in the sequence A056777 if it satisfies both | ||
| $\varphi(n+12) = \varphi(n) + 12$ and $\sigma(n+12) = \sigma(n) + 12$. -/ | ||
| def a (n : ℕ) : Prop := | ||
| ¬n.Prime ∧ 1 < n ∧ | ||
| Nat.totient (n + 12) = Nat.totient n + 12 ∧ | ||
| σ 1 (n + 12) = σ 1 n + 12 | ||
|
|
||
| /-- A number $n$ comes from a prime quadruple $(p, p+2, p+6, p+8)$ if | ||
| $n = p(p+8)$ for some prime $p$ where $p$, $p+2$, $p+6$, $p+8$ are all prime. -/ | ||
| def comesFromPrimeQuadruple (n : ℕ) : Prop := | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ∃ p : ℕ, p.Prime ∧ (p + 2).Prime ∧ (p + 6).Prime ∧ (p + 8).Prime ∧ | ||
| n = p * (p + 8) | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /-- $65$ is in the sequence A056777. -/ | ||
| @[category test, AMS 11] | ||
| theorem a_65 : a 65 := by | ||
| refine ⟨?_, by norm_num, ?_, ?_⟩ | ||
| · native_decide | ||
| · native_decide | ||
| · native_decide | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /-- $209$ is in the sequence A056777. -/ | ||
| @[category test, AMS 11] | ||
| theorem a_209 : a 209 := by | ||
| refine ⟨?_, by norm_num, ?_, ?_⟩ | ||
| · native_decide | ||
| · native_decide | ||
| · native_decide | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /-- Numbers coming from prime quadruples are in the sequence A056777. -/ | ||
| @[category undergraduate, AMS 11] | ||
| theorem a_of_comesFromPrimeQuadruple (n : ℕ) (h : comesFromPrimeQuadruple n) : a n := by | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| sorry | ||
|
|
||
| /-- All members of the sequence A056777 come from prime quadruples. -/ | ||
| @[category research open, AMS 11] | ||
| theorem comesFromPrimeQuadruple_of_a (n : ℕ) (h : a n) : comesFromPrimeQuadruple n := by | ||
mo271 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| sorry | ||
|
|
||
| /-- Numbers coming from prime quadruples satisfy $n \equiv 65 \pmod{72}$. -/ | ||
| @[category undergraduate, AMS 11] | ||
| theorem mod_72_of_comesFromPrimeQuadruple (n : ℕ) (h : comesFromPrimeQuadruple n) : | ||
| n % 72 = 65 := by | ||
| sorry | ||
|
|
||
| /-- Numbers coming from prime quadruples satisfy $n \equiv 9 \pmod{100}$. -/ | ||
| @[category undergraduate, AMS 11] | ||
| theorem mod_100_of_comesFromPrimeQuadruple (n : ℕ) (h : comesFromPrimeQuadruple n) : | ||
| n % 100 = 9 := by | ||
| sorry | ||
|
|
||
| /-- All members of the sequence satisfy $n \equiv 65 \pmod{72}$. -/ | ||
| @[category research open, AMS 11] | ||
| theorem mod_72_of_a (n : ℕ) (h : a n) : n % 72 = 65 := by | ||
| sorry | ||
rwst marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| end OeisA056777 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.