A172002 A permutation of the natural numbers in groups of 2*k^2, k=1,2,....
1, 2, 3, 4, 8, 9, 7, 10, 6, 11, 5, 12, 16, 17, 15, 18, 14, 19, 13, 20, 29, 30, 28, 31, 27, 32, 26, 33, 25, 34, 24, 35, 23, 36, 22, 37, 21, 38, 47, 48, 46, 49, 45, 50, 44, 51, 43, 52, 42, 53, 41, 54, 40, 55, 39, 56, 72, 73, 71, 74, 70, 75, 69, 76, 68, 77, 67, 78, 66, 79, 65, 80
Offset: 1
Keywords
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10680 (First 76 rows)
- Anonymous, Janet periodic table, Web Elements Chemistry
- Anonymous, Periodic Table: Formulations, Chemogenesis web book
- Albert Tarantola, PSE of Elements (Janet form).
Programs
-
Mathematica
Table[(Riffle[Reverse@ #, Length@ # + #] &@ Range[Ceiling[n/2]^2]) + (# + 1) (3 + 2 #^2 + 4 # - 3 (-1)^#)/12 &[n - 1], {n, 7}] // Flatten (* Michael De Vlieger, Jul 19 2016, after Vincenzo Librandi at A168380 *)
Extensions
Edited by R. J. Mathar, Mar 02 2010
Comments