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!)
A103844 Least k such that n*(k^2)+n*k+1 is a square, or 0 if n is a square. 0
0, 3, 7, 0, 8, 4, 15, 2, 0, 3, 39, 1, 7, 3, 7, 0, 8, 4, 8, 2, 15, 4, 335, 1, 0, 15, 415, 2, 32, 3, 55, 5, 7, 11, 23, 0, 24, 12, 8, 1, 704, 4, 39, 3, 56, 1631, 2, 0, 35, 1799, 3, 87, 7, 32, 5, 55, 7, 15, 1, 15, 23, 47, 0, 48, 24, 16, 12, 16, 3, 9235919, 6, 119, 8, 519, 4, 135, 20, 4959, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
ks[n_]:=Module[{k=1}, If[IntegerQ[Sqrt[n]], 0, While[!IntegerQ[ Sqrt[ n*k^2+n*k+1]], k++]; k]]; Array[ks, 80] (* Harvey P. Dale, Jul 18 2013 *)
CROSSREFS
Sequence in context: A134976 A192044 A010622 * A199068 A198490 A354797
KEYWORD
nonn
AUTHOR
Pierre CAMI, Mar 30 2005
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.)