一直拿计算器计算我家灰灰应该吃多少,觉得太麻烦了。
然后就用公式写了一个。
根据计算结果灰灰应该吃80克左右的猫粮或者1.5罐罐头,好像它完全没有根据公式来吃呢。
一直拿计算器计算我家灰灰应该吃多少,觉得太麻烦了。
然后就用公式写了一个。
根据计算结果灰灰应该吃80克左右的猫粮或者1.5罐罐头,好像它完全没有根据公式来吃呢。
The 5-digit number, 16807=\(7^5\), is also a fifth power. Similarly, the 9-digit number, 134217728=\(8^9\), is a ninth power.
How many n-digit positive integers exist which are also an nth power?
The cube, 41063625 ( \(345^3\) ), can be permuted to produce two other cubes: 56623104 ( \(384^3\) ) and 66430125 ( \(405^3\) ). In fact, 41063625 is the smallest cube which has exactly three permutations of its digits which are also cube.
Find the smallest cube for which exactly five permutations of its digits are cube.
Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae:
Triangle | \(P_{3,n}=n(n+1)/2\) | 1, 3, 6, 10, 15, … |
Square | \(P_{4,n}=n2\) | 1, 4, 9, 16, 25, … |
Pentagonal | \(P_{5,n}=n(3n−1)/2\) | 1, 5, 12, 22, 35, … |
Hexagonal | \(P_{6,n}=n(2n−1)\) | 1, 6, 15, 28, 45, … |
Heptagonal | \(P_{7,n}=n(5n−3)/2\) | 1, 7, 18, 34, 55, … |
Octagonal | \(P_{8,n}=n(3n−2)\) | 1, 8, 21, 40, 65, … |
The ordered set of three 4-digit numbers: 8128, 2882, 8281, has three interesting properties.
Find the sum of the only ordered set of six cyclic 4-digit numbers for which each polygonal type: triangle, square, pentagonal, hexagonal, heptagonal, and octagonal, is represented by a different number in the set.
The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking 7 and 109, both 7109 and 1097 are prime. The sum of these four primes, 792, represents the lowest sum for a set of four primes with this property.
Find the lowest sum for a set of five primes for which any two primes concatenate to produce another prime.
很久以前做过一个ASCII艺术代码,是python版本的。当时在django的架构下跑。自从换了Github Page就不能用了。这几天终于抽空用javascript重构了一下。
芒芒芒
芒连满相暑相夏满连 芒满满
满暑相夏满夏夏 芒连满夏相暑相夏满连
连连 芒 芒芒芒相连
芒连夏满满满夏暑连 芒相芒
夏芒 芒 芒相芒 夏芒 连
满夏夏满连 芒夏 满连 连暑连
连连 连满芒芒满 夏满芒芒连满夏夏暑芒
芒连芒 芒满 芒暑暑暑相满芒 连芒
芒连连满夏夏相芒 芒满芒 夏满
芒相连 连满
满满 连满夏芒 连满芒满满
芒满芒芒 相满 连满夏相暑相满满芒
芒夏连连 连夏 芒芒 连连
芒夏芒 满满夏芒 连连
芒满 芒相相连 满夏满满相相暑暑夏芒
芒 满夏芒芒相夏芒 芒相相相相相夏满连芒芒芒 芒连芒
芒满夏连 夏暑相连 芒芒
连相暑相夏连