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!)
A049001 a(n) = prime(n)^2 - 2. 10
2, 7, 23, 47, 119, 167, 287, 359, 527, 839, 959, 1367, 1679, 1847, 2207, 2807, 3479, 3719, 4487, 5039, 5327, 6239, 6887, 7919, 9407, 10199, 10607, 11447, 11879, 12767, 16127, 17159, 18767, 19319, 22199, 22799, 24647, 26567, 27887 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Smallest numbers k such that k*prime(n)^2 + 1 is a square. - Bruno Berselli, Apr 19 2013
LINKS
Barry Brent, On the Constant Terms of Certain Laurent Series, Preprints (2023) 2023061164.
FORMULA
a(n) = A001248(n) - 2.
a(n) = A182200(n) + 1. - Wesley Ivan Hurt, Oct 11 2013
Product_{n>=1} (1 - 1/a(n)) = A065481. - Amiram Eldar, Nov 07 2022
MAPLE
A049001:=n->ithprime(n)^2-2; seq(A049001(k), k=1..50); # Wesley Ivan Hurt, Oct 11 2013
MATHEMATICA
Table[Prime[n]^2-2, {n, 50}] (* Wesley Ivan Hurt, Oct 11 2013 *)
PROG
(Haskell)
a049001 = subtract 2 . a001248 -- Reinhard Zumkeller, Jul 30 2015
(PARI) a(n) = prime(n)^2 - 2; \\ Amiram Eldar, Nov 07 2022
CROSSREFS
Sequence in context: A028871 A053705 A247175 * A049002 A247197 A195629
KEYWORD
nonn,easy
AUTHOR
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 27 11:10 EDT 2024. Contains 372019 sequences. (Running on oeis4.)