OFFSET
1,1
COMMENTS
1 + sum of the indices of the first two numbers in A001844 that are divisible by n, if 1 + the sum of those indices equals n. - Mats Granvik, Oct 16 2007
R. J. Turyn proved [Baliga, et al., p. 129, gives the reference] that Williamson Hadamard matrices exist for 4t = 2(p^k + 1), for all primes p such that p == 1 (mod 4). - L. Edson Jeffery, Apr 10 2012
A024362(a(n)) = 1. - Reinhard Zumkeller, Dec 02 2012
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Reinhard Zumkeller)
A. Baliga and K. J. Horadam, Cocyclic Hadamard matrices over Z_t X Z^2_2, Australas. J. Combin. 11(1995), 123-134.
Eric Weisstein's World of Mathematics, MathWorld, Centered Square Number.
EXAMPLE
PROG
(Excel) Generate the indices with: =if(mod(1+2*row()*(row()+1); 4*column()+1)=0; row(); ") Then sum the first two indices if it equals the column + 1. - Mats Granvik, Oct 16 2007
(Haskell)
import Data.List (elemIndices)
a120960 n = a120960_list !! (n-1)
a120960_list = map (+ 1) $ elemIndices 1 a024362_list
-- Reinhard Zumkeller, Dec 02 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Jul 19 2006
STATUS
approved