OFFSET
1,1
COMMENTS
All nonnegative numbers less than 60 are waterproof.
Zero and one are waterproof numbers by convention. Numbers that admit a prime factorization are waterproof if their water capacity is 0. (The water capacity of a number is defined in A275339.)
If the factors p_i^e_i in the canonical prime factorization of n are weakly ascending or weakly descending, then n is waterproof.
A number is waterproof if and only if it equals its waterproof hull (A379098). The waterproof hull h(n) of n is the smallest waterproof number that n divides.
Numbers that are not waterproof are listed in A379097.
EXAMPLE
MAPLE
# The function 'water_capacity' is defined in A275339.
is_waterproof := n -> ifelse(n < 2, true, is(water_capacity(n) = 0)):
select(is_waterproof, [seq(60..121)]);
PROG
(Python)
# The function 'WaterCapacity' is defined in A275339.
print([n for n in range(60, 122) if WaterCapacity(n) == 0])
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 16 2024
STATUS
approved
