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!)
A071557 Numbers k such that A065876(k) = k^2-k+1. 3
0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 15, 16, 19, 20, 24, 25, 26, 29, 35, 36, 39, 40, 41, 45, 49, 51, 54, 56, 59, 61, 65, 66, 69, 71, 74, 79, 84, 85, 90, 94, 95, 101, 110, 116, 120, 121, 124, 126, 130, 131, 134, 139, 141, 145, 146, 150, 156, 159, 160, 165, 169, 170, 171 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
q[n_] := Module[{m = n+1}, While[!Divisible[m^2 + 1, n^2 + 1], m++]; m == n^2 - n + 1]; Select[Range[200], q] (* Amiram Eldar, May 05 2022 *)
PROG
(PARI) for(n=0, 300, q=n+1; while((q^2+1)%(n^2+1)>0, q++); if(q==n^2-n+1, print1(n, ", ")))
CROSSREFS
Cf. A065876.
Sequence in context: A174328 A272570 A123101 * A331802 A271108 A179401
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 30 2002
EXTENSIONS
a(1) = 0 added by Amiram Eldar, May 05 2022
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)