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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094048 Let p(n) be the n-th prime congruent to 1 mod 4. Then a(n) = the least m for which m^2+1=p(n)*k^2 has a solution. 2
2, 18, 4, 70, 6, 32, 182, 29718, 1068, 500, 5604, 10, 8890182, 776, 1744, 113582, 4832118, 1118, 1111225770, 1764132, 14, 1710, 23156, 71011068, 16, 82, 8920484118, 1063532, 2482, 126862368, 352618 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Subsequence of A191860. [Reinhard Zumkeller, Jun 18 2011]

MATHEMATICA

f[n_] := Block[{y = 1}, While[ !IntegerQ[ Sqrt[n*y^2 - 1]], y++ ]; Sqrt[n*y^2 - 1]]; lst = {}; Do[p = Prime@ n; If[ Mod[p, 4] == 1, AppendTo[lst, f@p]; Print[{n, Prime@n, f@p}]], {n, 66}]; lst

CROSSREFS

Cf. A002144, A094049, A137351.

Sequence in context: A112969 A077452 A113918 * A179073 A087665 A093481

Adjacent sequences:  A094045 A094046 A094047 * A094049 A094050 A094051

KEYWORD

nonn

AUTHOR

Matthijs Coster (matthijs(AT)coster.demon.nl), Apr 29 2004

EXTENSIONS

Edited by Don Reble (djr(AT)nk.ca), Apr 30 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 23:08 EST 2012. Contains 206085 sequences.