A108227 a(n) is the least number of prime factors for any abundant number with p_n (the n-th prime) as its least factor.
3, 5, 9, 18, 31, 46, 67, 91, 122, 158, 194, 238, 284, 334, 392, 456, 522, 591, 668, 749, 835, 929, 1028, 1133, 1242, 1352, 1469, 1594, 1727, 1869, 2019, 2163, 2315, 2471, 2636, 2802, 2977, 3157, 3342, 3534, 3731, 3933, 4145, 4358, 4581, 4811
Offset: 1
Keywords
Examples
a(2) = 5 since 945 = 3^3*5*7 is an abundant number with p_2 = 3 as its smallest prime factor, and no such number exists with fewer than 5 prime factors.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..500
- Jianing Song, Notes for A108227
Crossrefs
Programs
-
PARI
A108227(n, s=1+1/prime(n))=for(a=1, 9e9, if(2
M. F. Hasler, Jun 15 2017 -
PARI
isform(k,q) = my(p=prime(k)); if(isprime(q) && (q>=p), 1, if(issquare(4*q+1), my(r=(sqrtint(4*q+1)-1)/2); isprime(r) && (r>=p), 0)) a(n) = my(Prod=1, Sum=0); for(i=prime(n), oo, if(isform(n,i), Prod *= (1+1/i); Sum++); if(Prod>2, return(Sum))) \\ Jianing Song, Apr 21 2021
Formula
Extensions
Data corrected by Amiram Eldar, Aug 08 2019
Comments