The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A245197 Numbers n where tau(n) and n-tau(n) are perfect squares, with tau(n) the number of divisors of n (A000005). 3
1, 8, 85, 125, 365, 445, 533, 629, 965, 1685, 1800, 1853, 2340, 2605, 2813, 3029, 3973, 4765, 5045, 5220, 5629, 5933, 6245, 6893, 8285, 8653, 11029, 11453, 11885, 12773, 14165, 15133, 16645, 17165, 17460, 17693, 20453, 21029, 22205, 22805, 23413, 24653, 27229 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Subsequence of A036436. - Michel Marcus, Jul 15 2014
Intersection of A036436 and A245388. - Robert Israel, Jul 20 2014
LINKS
MAPLE
filter:= proc(n) local t;
t:= numtheory:-tau(n);
issqr(t) and issqr(n-t)
end proc;
select(filter, [$1..10^5]); # Robert Israel, Jul 20 2014
MATHEMATICA
okQ[n_] := With[{t = DivisorSigma[0, n]}, IntegerQ@Sqrt[t] && IntegerQ@Sqrt[n-t]];
Select[Range[10^5], okQ] (* Jean-François Alcover, Feb 08 2023 *)
PROG
(PARI) isok(n) = issquare(numdiv(n)) && issquare(n-numdiv(n)); \\ Michel Marcus, Jul 15 2014
CROSSREFS
Cf. A000005 (tau(n)), A049820 (n - tau(n)), A036436 (n such that tau(n) is square), A245388 (n such that n - tau(n) is square).
Sequence in context: A113376 A205311 A258338 * A281340 A298283 A299176
KEYWORD
nonn
AUTHOR
Reinhard Muehlfeld, Jul 13 2014
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 May 14 23:22 EDT 2024. Contains 372535 sequences. (Running on oeis4.)