A319802 Even numbers without middle divisors.
10, 14, 22, 26, 34, 38, 44, 46, 52, 58, 62, 68, 74, 76, 78, 82, 86, 92, 94, 102, 106, 114, 116, 118, 122, 124, 134, 136, 138, 142, 146, 148, 152, 158, 164, 166, 172, 174, 178, 184, 186, 188, 194, 202, 206, 212, 214, 218, 222, 226, 230, 232, 236, 244, 246, 248, 250, 254, 258, 262, 268, 274, 278, 282, 284
Offset: 1
Keywords
Examples
10 is in the sequence because it's an even number and the symmetric representation of sigma(10) = 18 has an even number of parts as shown below: . . _ _ _ _ _ _ 9 . |_ _ _ _ _ | . | |_ . |_ _|_ . | |_ _ 9 . |_ _ | . | | . | | . | | . | | . |_| .
Links
- Michael S. Branicky, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Python
from sympy import divisors def ok(n): if n < 2 or n%2 == 1: return False return not any(n//2 <= d*d < 2*n for d in divisors(n, generator=True)) print(list(filter(ok, range(285)))) # Michael S. Branicky, Oct 14 2021
Comments