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!)
A264665 Integers n such that A002110(n) + 2 is the sum of 2 nonzero squares. 1
2, 3, 4, 5, 6, 11, 15, 33, 49, 50, 52, 53, 54, 57, 60, 61, 64, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Integers n such that A006862(n) + 1 is the sum of 2 nonzero squares.
LINKS
EXAMPLE
a(1) = 2 because 2*3 + 2 = 2^2 + 2^2.
a(2) = 3 because 2*3*5 + 2 = 4^2 + 4^2.
a(3) = 4 because 2*3*5*7 + 2 = 14^2 + 4^2.
MATHEMATICA
Rest@ Select[Range@ 36, SquaresR[2, Product[Prime@ k, {k, #}] + 2] > 0 &] (* Michael De Vlieger, Nov 23 2015 *)
PROG
(PARI) a(n) = prod(k=1, n, prime(k)) + 2;
is(n) = { for( i=1, #n=factor(n)~%4, n[1, i]==3 && n[2, i]%2 && return); n && ( vecmin(n[1, ])==1 || (n[1, 1]==2 && n[2, 1]%2)) }
for(n=1, 1e5, if(is(a(n)), print1(n, ", ")))
CROSSREFS
Sequence in context: A157420 A221471 A058243 * A308776 A339556 A264995
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Nov 20 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 July 23 23:47 EDT 2024. Contains 374575 sequences. (Running on oeis4.)