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!)
A261558 Euclid numbers (A006862) of the form 3*(i*i + i*j + j*j + i + j) + 1 where i and j are integers. 0
7, 31, 211, 2311, 510511, 6469693231, 200560490131, 304250263527211, 117288381359406970983271, 7858321551080267055879091, 40729680599249024150621323471, 232862364358497360900063316880507363071, 279734996817854936178276161872067809674997231 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Intersection of A006862 and A202822.
LINKS
Eric Weisstein's World of Mathematics, Euclid Number
EXAMPLE
a(1) = 7 because 7 = 2*3 + 1 = 3*(1^2 + 1*0 + 0^2 + 1 + 0) + 1.
PROG
(PARI) a(n) = prod(k=1, n, prime(k)) + 1;
isA(n) = if( n<1 || (n%3 == 0), 0, 0 != sumdiv( n, d, kronecker( -3, d)));
for(n=0, 30, if(isA(a(n)), print1(a(n), ", ")))
CROSSREFS
Sequence in context: A201116 A329944 A060015 * A241456 A094711 A333735
KEYWORD
nonn
AUTHOR
Altug Alkan, Nov 18 2015
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)