A096782 A096780(A096780(n)).
1, 2, 3, 4, 56, 11, 57, 22, 5, 8, 28, 7, 3082, 254, 79, 6, 9317, 9, 907, 12, 17, 174, 8003, 137, 23, 33, 667, 14, 677, 13
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
1; 2, 4; 3, 6, 9; 8, 12, 16, 20; 5, 10, 15, 25, 30; 18, 24, 36, 42, 48, 54; 7, 14, 21, 28, 35, 49, 56; 32, ...
import Data.List ((\\)) a075383 n k = a075383_tabl !! (n-1) !! (k-1) a075383_row n = a075383_tabl !! (n-1) a075383_tabl = f 1 [1..] where f x zs = ys : f (x + 1) (zs \\ ys) where ys = take x $ filter ((== 0) . (`mod` x)) zs a075383_list = concat a075383_tabl -- Reinhard Zumkeller, Nov 30 2015
row[1] = {1}; row[n_] := row[n] = (For[rows = Join[row /@ Range[n-1]]; ro = {}; k = n, Length[ro] < n, k = k+n, If[FreeQ[rows, k], AppendTo[ro, k]]]; ro); Array[row, 12] // Flatten (* Jean-François Alcover, Apr 28 2017 *)
a096781 = a . a where a = (a075383_list !!) . subtract 1 -- Reinhard Zumkeller, Nov 29 2015
Comments