login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070449 a(n) = n^2 mod 27. 2
0, 1, 4, 9, 16, 25, 9, 22, 10, 0, 19, 13, 9, 7, 7, 9, 13, 19, 0, 10, 22, 9, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 9, 22, 10, 0, 19, 13, 9, 7, 7, 9, 13, 19, 0, 10, 22, 9, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 9, 22, 10, 0, 19, 13, 9, 7, 7, 9, 13, 19, 0, 10, 22, 9, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = a(n-27). - G. C. Greubel, Mar 24 2016

G.f.:(x + 4*x^2 + 9*x^3 + 16*x^4 + 25*x^5 + 9*x^6 + 22*x^7 + 10*x^8 + 19*x^10 + 13*x^11 + 9*x^12 + 7*x^13 + 7*x^14 + 9*x^15 + 13*x^16 + 19*x^17 + 10*x^19 + 22*x^20 + 9*x^21 + 25*x^22 + 16*x^23 + 9*x^24 + 4*x^25 + x^26)/(1 - x^27). - Vincenzo Librandi, Mar 25 2016

MATHEMATICA

Table[Mod[n^2, 27], {n, 0, 200}] (* Vladimir Joseph Stephan Orlovsky, Apr 23 2011 *)

PROG

(PARI) a(n)=n^2%27 \\ Charles R Greathouse IV, Apr 06 2016

CROSSREFS

Sequence in context: A304233 A070451 A070450 * A070448 A081403 A259602

Adjacent sequences:  A070446 A070447 A070448 * A070450 A070451 A070452

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, May 12 2002

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 10 08:09 EDT 2021. Contains 342845 sequences. (Running on oeis4.)