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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005722 a(n) = (prime(n) - 1)^2. 5
1, 4, 16, 36, 100, 144, 256, 324, 484, 784, 900, 1296, 1600, 1764, 2116, 2704, 3364, 3600, 4356, 4900, 5184, 6084, 6724, 7744, 9216, 10000, 10404, 11236, 11664, 12544, 15876, 16900, 18496, 19044, 21904 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

R. K. Guy, Letter to N. J. A. Sloane, 1987

FORMULA

a(n) = A192134(A095874(A001248(n))) - 1. - Reinhard Zumkeller, Jun 26 2011

a(n) = A006093(n)^2. - Wesley Ivan Hurt, Mar 27 2014

MAPLE

A005722:=n->(ithprime(n)-1)^2; seq(A005722(n), n=1..40); # Wesley Ivan Hurt, Mar 27 2014

MATHEMATICA

Table[(Prime[n] - 1)^2, {n, 40}] (* Vincenzo Librandi, Mar 27 2014 *)

PROG

(MAGMA) [(p-1)^2: p in PrimesUpTo(200)]; // Vincenzo Librandi, Mar 27 2014

CROSSREFS

Sequence in context: A207069 A207436 A189145 * A075408 A206981 A233409

Adjacent sequences:  A005719 A005720 A005721 * A005723 A005724 A005725

KEYWORD

nonn,easy

AUTHOR

Scorpion(AT)aol.com

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified November 23 21:46 EST 2017. Contains 295141 sequences.