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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179394 a(n) = prime(n)^2 mod prime(n+2). 0
4, 2, 3, 10, 2, 17, 13, 13, 2, 27, 18, 36, 36, 47, 26, 3, 64, 29, 36, 64, 17, 11, 2, 43, 36, 36, 36, 36, 70, 62, 100, 64, 144, 144, 64, 144, 100, 100, 144, 64, 144, 144, 36, 36, 196, 130, 29, 36, 36, 100, 64, 144, 256, 144, 144, 64, 64, 100, 36, 144, 269, 13, 36, 36, 324, 63, 256, 144, 36, 100, 196, 196, 144, 100, 100, 196 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..76.

EXAMPLE

a(1)=2^2 mod(5)=4 mod(5)=4.

a(2)=3^2 mod(7)=9 mod(7)=2.

a(3)=5^2 mod(11)=25 mod(11)=3.

a(4)=7^2 mod(13)=49 mod(13)=10.

PROG

(PARI) a(n) = prime(n)^2 % prime(n+2) \\ Michel Marcus, Aug 06 2013

CROSSREFS

Cf. A167770 has a similar sequence generation rule.

Sequence in context: A282888 A278101 A120240 * A102629 A082361 A082363

Adjacent sequences:  A179391 A179392 A179393 * A179395 A179396 A179397

KEYWORD

nonn

AUTHOR

Umut Uludag, Jan 07 2011

EXTENSIONS

General formula corrected by Umut Uludag

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 October 21 00:56 EDT 2017. Contains 293679 sequences.