Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076942
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076942 Smallest k > 0 such that nk+1 is a square. +0
5
3, 4, 1, 2, 3, 4, 5, 1, 7, 8, 9, 2, 11, 12, 1, 3, 15, 16, 17, 4, 3, 20, 21, 1, 23, 24, 25, 6, 27, 4, 29, 7, 3, 32, 1, 8, 35, 36, 5, 2, 39, 4, 41, 10, 8, 44, 45, 1, 47, 48, 5, 12, 51, 52, 8, 3, 7, 56, 57, 2, 59, 60, 1, 15, 3, 8, 65, 16, 7, 12, 69, 4, 71, 72, 9, 18, 15, 8, 77, 1, 79, 80, 81 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n) <= n-2 for n > 2; a(p) = p-2 if p is a prime > 2. [Comment corrected by Floris van Doorn, Jan 31 2009]

a(n) = n - 2 precisely when n > 2 has a primitive root; that is, for 4, and p^k and 2*p^k for p an odd prime and k > 0. [From Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Apr 13 2009]

LINKS

Floris P. van Doorn, Table of n=2C a(n) for n=0...10000

MATHEMATICA

Do[k = 1; While[ !IntegerQ[Sqrt[n*k + 1]], k++ ]; Print[k], {n, 1, 85}]

CROSSREFS

Cf. A033948, A033949. [From Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Apr 13 2009]

Sequence in context: A123019 A085710 A106650 this_sequence A021971 A021297 A124909

Adjacent sequences: A076939 A076940 A076941 this_sequence A076943 A076944 A076945

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Oct 19 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 21 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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research