A088723 Numbers k with at least one divisor d>1 such that d+1 also divides k.
6, 12, 18, 20, 24, 30, 36, 40, 42, 48, 54, 56, 60, 66, 72, 78, 80, 84, 90, 96, 100, 102, 108, 110, 112, 114, 120, 126, 132, 138, 140, 144, 150, 156, 160, 162, 168, 174, 180, 182, 186, 192, 198, 200, 204, 210, 216, 220, 222, 224, 228, 234, 240, 246, 252, 258, 260
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
a088723 n = a088723_list !! (n-1) a088723_list = filter f [2..] where f x = 1 `elem` (zipWith (-) (tail divs) divs) where divs = tail $ a027750_row x -- Reinhard Zumkeller, Dec 16 2013
-
Mathematica
Select[Range[300],MemberQ[Differences[Select[Divisors[#], #>1&]], 1]&] (* Harvey P. Dale, Apr 03 2011 *)
-
PARI
isok(k) = if(k%2, 0, if(!(k%3), 1, fordiv(k, d, if(d > 1 && !(k % (d+1)), return(1))); 0)); \\ Amiram Eldar, Apr 20 2025
Formula
A088722(a(n)) > 0.
Extensions
Extended by Ray Chandler, May 29 2008
Comments