The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A337560 Number of length four 1..n vectors that contain their harmonic mean. 2
1, 2, 3, 28, 29, 78, 79, 104, 105, 154, 155, 252, 253, 254, 351, 376, 377, 426, 427, 620, 717, 718, 719, 912, 913, 914, 915, 1084, 1085, 1374, 1375, 1400, 1425, 1426, 1619, 1812, 1813, 1814, 1839, 2128, 2129, 2442, 2443, 2564, 2829, 2830, 2831, 3192, 3193 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Hywel Normington, Python code, 2020.
FORMULA
a(n) - a(n-1) = 1 (mod 12).
EXAMPLE
For n = 1, the a(1) = 1 solution is (1,1,1,1).
For n = 4, the a(4) = 28 solutions are (k,k,k,k) for k=1,2,3,4, the 12 permutations of (1,2,4,4) and the 12 permutations of (2,3,4,4).
For n = 40, the a(40) - a(39) = 289 new solutions are:
the 24 permutations of (4, 8, 10, 40),
the 12 permutations of (4, 10, 40, 40),
the 12 permutations of (5, 12, 40, 40),
the 24 permutations of (8, 10, 12, 40),
the 24 permutations of (8, 15, 20, 40),
the 12 permutations of (10, 16, 16, 40),
the 24 permutations of (10, 18, 24, 40),
the 12 permutations of (10, 20, 40, 40),
the 24 permutations of (12, 20, 24, 40),
the 24 permutations of (14, 24, 35, 40),
the 24 permutations of (15, 24, 30, 40),
the 12 permutations of (16, 16, 20, 40),
the 12 permutations of (20, 20, 24, 40),
the 12 permutations of (20, 30, 40, 40),
the 12 permutations of (24, 30, 30, 40),
the 12 permutations of (28, 35, 40, 40),
the 12 permutations of (30, 36, 40, 40),
and (40, 40, 40, 40).
CROSSREFS
Sequence in context: A010344 A037316 A032813 * A333704 A104313 A279505
KEYWORD
nonn
AUTHOR
Hywel Normington, Aug 31 2020
EXTENSIONS
a(43)-a(49) from Alois P. Heinz, Feb 04 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 06:42 EDT 2024. Contains 373145 sequences. (Running on oeis4.)