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!)
A059591 Squarefree part of n^2+1. 5
1, 2, 5, 10, 17, 26, 37, 2, 65, 82, 101, 122, 145, 170, 197, 226, 257, 290, 13, 362, 401, 442, 485, 530, 577, 626, 677, 730, 785, 842, 901, 962, 41, 1090, 1157, 1226, 1297, 1370, 5, 1522, 1601, 2, 1765, 74, 1937, 2026, 2117, 2210, 2305, 2402, 2501, 2602 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Related to period-1 continued fractions [z,z,z,...].
LINKS
Enrique Pérez Herrero, Table of n, a(n) for n = 0..5000
FORMULA
a(n) = A007913(n^2+1).
a(n)*A059592(n)^2 = n^2+1.
EXAMPLE
a(7)=2 since 7^2+1 = 50 = 25*2 = (5^2)*2.
MAPLE
A:= proc(n)
local F;
F:= select(t -> t[2]::odd, ifactors(n^2+1)[2]);
mul(t[1], t=F)
end proc:
map(A, [$0..100]); # Robert Israel, Jun 18 2015
MATHEMATICA
Table[Times @@ Flatten[Table[#1, {#2}] & @@@ Select[FactorInteger[n^2 + 1], OddQ@ Last@ # &]], {n, 120}] (* Michael De Vlieger, Jun 19 2015 *)
PROG
(PARI) a(n) = core(n^2+1); \\ Michel Marcus, Jun 18 2015
CROSSREFS
Sequence in context: A340045 A100292 A078325 * A082607 A303372 A159547
KEYWORD
easy,nonn
AUTHOR
Marc LeBrun, Jan 25 2001
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 06:24 EDT 2024. Contains 371769 sequences. (Running on oeis4.)