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!)
A028791 Nonsquares mod 78. 1
2, 5, 6, 7, 8, 11, 14, 15, 17, 18, 19, 20, 21, 23, 24, 26, 28, 29, 31, 32, 33, 34, 35, 37, 38, 41, 44, 45, 46, 47, 50, 53, 54, 56, 57, 58, 59, 60, 62, 63, 65, 67, 68, 70, 71, 72, 73, 74, 76, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Complement[Range[0, 77], PowerMod[Range[78], 2, 78]] (* Alonso del Arte, Dec 26 2019 *)

PROG

(PARI) for(k=0, 78, if(!issquare(Mod(k, 78)), print1(k, ", "))) \\ Hugo Pfoertner, Dec 02 2019

(Scala) (0 to 77).diff((1 to 78).map(n => (n * n) % 78)) // Alonso del Arte, Dec 26 2019

CROSSREFS

Cf. A010439.

Sequence in context: A170944 A074940 A028752 * A080727 A283974 A028739

Adjacent sequences:  A028788 A028789 A028790 * A028792 A028793 A028794

KEYWORD

nonn,fini,full,easy

AUTHOR

N. J. A. Sloane

EXTENSIONS

Incorrect term 39 removed by Alonso del Arte, Dec 01 2019

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 March 3 14:58 EST 2021. Contains 341762 sequences. (Running on oeis4.)