cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A206708 Numbers k such that sigma(k) = sigma(sigma(k)-k).

This page as a plain text file.
%I A206708 #53 Feb 16 2025 08:33:16
%S A206708 6,28,220,284,496,1184,1210,2620,2924,5020,5564,6232,6368,8128,10744,
%T A206708 10856,12285,14595,17296,18416,63020,66928,66992,67095,69615,71145,
%U A206708 76084,79750,87633,88730,100485,122265,122368,123152,124155,139815,141664,142310,153176
%N A206708 Numbers k such that sigma(k) = sigma(sigma(k)-k).
%C A206708 For all k, let s(k) = sigma(k) - k, the aliquot sum function A001065; then this sequence is the set of k such that s(s(k)) = k. - _Jeppe Stig Nielsen_, Jan 12 2020
%H A206708 Giovanni Resta, <a href="/A206708/b206708.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Amiram Eldar)
%H A206708 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PerfectNumber.html">Perfect Number</a>
%H A206708 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/AmicablePair.html">Amicable Pair</a>
%H A206708 Wikipedia, <a href="http://www.wikipedia.org/wiki/Perfect_number">Perfect number</a>
%H A206708 Wikipedia, <a href="http://www.wikipedia.org/wiki/Amicable_number">Amicable number</a>
%F A206708 Equals {A063990} union {A000396} =  (amicable numbers) union (perfect numbers).
%e A206708 220 is in the sequence because sigma(220) = 504, sigma(504 - 220) = sigma(284) = 504.
%p A206708 q:= n-> (s-> s(n)=s(s(n)-n))(numtheory[sigma]):
%p A206708 select(q, [$1..100000])[];  # _Alois P. Heinz_, Jan 31 2023
%t A206708 Select[Range[10^6],DivisorSigma[1,#]==DivisorSigma[1, DivisorSigma[1,#]-#]&]
%o A206708 (PARI) isok(k) = if (k != 1, my(sk=sigma(k)); sk == sigma(sk-k)); \\ _Michel Marcus_, Jun 24 2019
%o A206708 (Magma) [k:k in [2..154000]|s eq DivisorSigma(1,s-k) where s is DivisorSigma(1,k)]; // _Marius A. Burtea_, Jan 13 2020
%Y A206708 Cf. A000396 (perfect numbers), A063990 (amicable numbers).
%Y A206708 Cf. A000203 (sum of divisors), A001065 (sum of proper divisors).
%K A206708 nonn
%O A206708 1,1
%A A206708 _Michel Lagneau_, Feb 11 2012