login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A351690 a(n) is the number of n-subsets of [0..p-1] whose n*(n-1) differences are congruent to 1..p-1 (mod p), where p=n*(n-1)+1. 1
1, 3, 14, 52, 42, 310, 0, 684, 584, 1092, 0, 4788, 0, 7320, 0, 0, 3276, 31314, 0, 32004, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Leonard E. Dickson, Problem 142, The American Mathematical Monthly, Vol. 14, No. 5 (May, 1907), pp. 107-108.
Eric Weisstein's World of Mathematics, Perfect Difference Set
FORMULA
a(n) = 2*(n*(n-1)+1)*A058241(n) for n >= 3. - Pontus von Brömssen, May 09 2022
PROG
(PARI) isok(n, v) = my(p=n*(n-1)+1); setbinop((x, y)->lift(Mod(x-y, p)), v, v) == [0..p-1];
a(n) = my(nb=0); forsubset([n^2-n+1, n], s, my(ds = apply(x->x-1, Vec(s))); if (isok(n, ds), nb++)); nb;
CROSSREFS
Sequence in context: A320826 A322199 A192882 * A056076 A117133 A238226
KEYWORD
nonn,more
AUTHOR
Michel Marcus, May 05 2022
EXTENSIONS
Name edited by Pontus von Brömssen, May 07 2022
a(1)-a(2) and a(8)-a(23) (based on data for A058241) from Pontus von Brömssen, May 09 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 11:53 EDT 2024. Contains 374888 sequences. (Running on oeis4.)