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!)
A273545 Least number k such that k*n is the sum of two nonzero squares in exactly n ways. 0
2, 25, 975, 1105, 1625, 16575, 739375, 27625, 71825, 27625, 58093750, 480675, 93925, 8547175, 1077375, 801125, 76765625, 2082925, 783935546875, 801125, 942703125, 23740234375, 1404178750, 17784975, 12138425, 8300781250, 106229175, 700984375, 221252441406250 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(2) = 25 because 25*2 = 50 is the least even number that is the sum of two nonzero squares in exactly 2 ways; 50 = 1^2 + 7^2 = 5^2 + 5^2.
MATHEMATICA
nR[n_] := (SquaresR[2, n] + Plus @@ Pick[{-4, 4}, IntegerQ /@ Sqrt[{n, n/2}]])/8; a[n_] := Block[{k=1}, While[nR[n * k] != n, k++]; k]; Array[a, 10] (* Giovanni Resta, May 27 2016 *)
CROSSREFS
Sequence in context: A301616 A298157 A342298 * A014050 A015214 A204234
KEYWORD
nonn
AUTHOR
Altug Alkan, May 26 2016
EXTENSIONS
a(6)-a(29) from Giovanni Resta, May 26 2016
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 April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)