A332223 a(1) = 1, and for n > 1, a(n) = A005940(1+sigma(A156552(n))).
1, 2, 4, 5, 8, 9, 16, 7, 25, 18, 32, 25, 64, 21, 21, 49, 128, 27, 256, 35, 40, 121, 512, 49, 125, 385, 49, 121, 1024, 13, 2048, 13, 225, 1573, 105, 77, 4096, 57, 187, 343, 8192, 63, 16384, 65, 55, 4693, 32768, 121, 625, 32, 15625, 85, 65536, 81, 180, 91, 253, 9945, 131072, 175, 262144, 508079, 625, 847, 729, 169, 524288, 2057, 2601, 105, 1048576
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10000 (computed using Hans Havermann's factorization of A156552)
- P. Hagis and G. L. Cohen, Some Results Concerning Quasiperfect Numbers, J. Austral. Math. Soc. Ser. A 33, 275-286, 1982.
- V. Siva Rama Prasad and C. Sunitha, On quasiperfect numbers, Notes on Number Theory and Discrete Mathematics, Vol. 23, 2017, No. 3, 73-78.
- Eric Weisstein's World of Mathematics, Quasiperfect Number
- Index entries for sequences computed from indices in prime factorization
- Index entries for sequences related to sigma(n)
Crossrefs
Programs
-
PARI
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940 A156552(n) = {my(f = factor(n), p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res}; \\ From A156552 A332223(n) = if(1==n,n,A005940(1+sigma(A156552(n))));
-
PARI
A332223(n) = if(1==n,n,A005940(1+sumdiv(A156552(n),d,d))); \\ Antti Karttunen, Aug 04 2020
Comments