A348520 Pentaphobe or 5-phobe numbers: integers that are not pentaphile numbers.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 44, 48, 49, 50, 51, 52, 53, 54, 56, 60, 65, 66, 68, 72, 74, 80, 84, 97, 98, 102, 104, 108, 120, 132, 144, 168, 194, 240
Offset: 1
Examples
There are no 5 positive integers b_1 < b_2 < b_3 < b_4 < b_5 such that b_1 divides b_2, b_2 divides b_3, b_3 divides b_4, b_4 divides b_5, and 32 = b_1 + b_2 + b_3 + b_4 + b_5, hence 32 is a term.
Links
- Diophante, A496 - Pentaphiles et pentaphobes (in French).
Crossrefs
Programs
-
PARI
isok(k) = forpart(p=k, if (#Set(p) == 5, if (!(p[2] % p[1]) && !(p[3] % p[2]) && !(p[4] % p[3]) && !(p[5] % p[4]), return(0))), , [5, 5]); return(1); \\ Michel Marcus, Nov 14 2021
Comments