Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067872
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067872 Least m>0 for which m*n^2 + 1 is a square. +0
4
3, 2, 7, 3, 23, 8, 47, 15, 79, 24, 119, 2, 167, 48, 3, 63, 287, 80, 359, 6, 88, 120, 527, 28, 623, 168, 727, 12, 839, 44, 959, 255, 216, 288, 8, 20, 1367, 360, 19, 77, 1679, 22, 1847, 30, 208, 528, 2207, 7, 2399, 624, 128, 42, 2807, 728, 696, 3, 160, 840, 3479, 11 (list; graph; listen)
OFFSET

1,1

COMMENT

Least m>0 for which x^2 - m*y^2 = 1 has a solution with y = n.

LINKS

T. D. Noe, Table of n, a(n) for n=1..500

FORMULA

For n a power of an odd prime, a(n)=n^2-2. For n twice a power of an odd prime, a(n)=(n/2)^2-1. - T. D. Noe, Sep 13 2007

EXAMPLE

a(4)=3, based on 3*4^2 + 1 = 7^2.

MATHEMATICA

a[n_] := For[m=1, True, m++, If[IntegerQ[Sqrt[m*n^2+1]], Return[m]]]

CROSSREFS

Cf. A033318, A068310.

Sequence in context: A057020 A165794 A075270 this_sequence A011772 A060451 A129187

Adjacent sequences: A067869 A067870 A067871 this_sequence A067873 A067874 A067875

KEYWORD

nice,nonn

AUTHOR

Lekraj Beedassy (blekraj(AT)yahoo.com), Feb 25 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Mar 19 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 19:42 EST 2009. Contains 167435 sequences.


AT&T Labs Research