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!)
A131905 Integers x such that sigma_2(k)=sigma_2(x) for some 0<k<x, where A001157=sigma_2 is the sum of squares of divisors. 2
7, 26, 35, 47, 77, 91, 119, 130, 133, 141, 157, 161, 175, 182, 203, 215, 217, 249, 259, 282, 286, 287, 301, 329, 371, 385, 413, 423, 427, 434, 442, 455, 469, 471, 494, 497, 511, 517, 553, 581, 595, 598, 611, 623, 650, 651, 665, 679, 707, 721, 749, 754, 763, 785 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = n-th element of {x: there exists some k with 0<k<x and sigma_2(m)=sigma_2(n)}, where A001157=sigma_2 is the sum of squares of divisors.
EXAMPLE
This sequence contains 35, because sigma_2(35) = 1^2+5^2+7^2+35^2 = 1+25+49+1225 = 1300, and the sum of the squares of the divisors of 30<35 is sigma_2(30) = 1+4+9+25+36+100+225+900 = 1300.
MAPLE
N:= 100: # to get a(1)..a(N)
count:= 0: Res:= NULL:
for n from 1 while count < N do
v:= numtheory:-sigma[2](n);
if assigned(V[v]) then count:= count+1; Res:= Res, n;
else V[v]:= n
fi
od:
Res; # Robert Israel, Mar 30 2018
MATHEMATICA
Clear[tmp]; First@Transpose[ Function[n, (If[Head[ #1] === tmp, #1 = n; Unevaluated[Sequence[]], {n, #1}] & )[tmp[DivisorSigma[2, n]]]] /@ Range[500]]
PROG
(PARI) isok(n) = {sn = sigma(n, 2); for (k=1, n-1, if (sigma(k, 2) == sn, return (1)); ); } \\ Michel Marcus, Apr 03 2015
CROSSREFS
Sequence in context: A246910 A098127 A283427 * A110927 A103267 A125972
KEYWORD
easy,nonn
AUTHOR
Peter Pein (petsie(AT)dordos.net), Jul 26 2007
EXTENSIONS
a(37)-a(54) from Michel Marcus, Apr 03 2015
Edited by Danny Rorabaugh, Apr 03 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 15 23:50 EDT 2024. Contains 371696 sequences. (Running on oeis4.)