login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286779 Multiplicative with a(p^e) = 2e^2 + 2. 1
1, 4, 4, 10, 4, 16, 4, 20, 10, 16, 4, 40, 4, 16, 16, 34, 4, 40, 4, 40, 16, 16, 4, 80, 10, 16, 20, 40, 4, 64, 4, 52, 16, 16, 16, 100, 4, 16, 16, 80, 4, 64, 4, 40, 40, 16, 4, 136, 10, 40, 16, 40, 4, 80, 16, 80, 16, 16, 4, 160, 4, 16, 40, 74, 16, 64, 4, 40, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

If n is odd, then a(n) is the number of non-isomorphic generalized quaternion rings over Z_n.

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

Jose María Grau, C. Miguel and  A. M. Oller-Marcen, Generalized Quaternion Rings over Z/nZ for an odd n, arXiv:1706.04760 [math.RA], 2017.

MAPLE

a:= n-> mul(2*i[2]^2+2, i=ifactors(n)[2]):

seq(a(n), n=1..100);  # Alois P. Heinz, Jul 07 2017

MATHEMATICA

fa[n_] := fa[n] = FactorInteger[n]; phi[1] = 1; phi[p_, s_] := 2s^2 + 2;

phi[n_] := Product[phi[fa[n][[i, 1]], fa[n][[i, 2]]], {i, Length[fa[n]]}];

Table[phi[n], {n, 1, 44}]

PROG

(PARI) a(n)=my(f=factor(n)[, 2]); prod(i=1, #f, 2*f[i]^2+2) \\ Charles R Greathouse IV, Jul 07 2017

CROSSREFS

Sequence in context: A321078 A160723 A255486 * A007426 A319056 A050348

Adjacent sequences:  A286776 A286777 A286778 * A286780 A286781 A286782

KEYWORD

nonn,mult,easy

AUTHOR

José María Grau Ribas, May 14 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 25 16:50 EDT 2019. Contains 326324 sequences. (Running on oeis4.)