|
|
A004615
|
|
Divisible only by primes congruent to 1 mod 5.
|
|
10
|
|
|
1, 11, 31, 41, 61, 71, 101, 121, 131, 151, 181, 191, 211, 241, 251, 271, 281, 311, 331, 341, 401, 421, 431, 451, 461, 491, 521, 541, 571, 601, 631, 641, 661, 671, 691, 701, 751, 761, 781, 811, 821, 881, 911, 941
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Also numbers with all divisors ending with digit 1.
Also numbers with all divisors ending with the same digit; as 1 divides all the integers, this digit is necessarily 1 (see first comment); hence, for these numbers m: A330348(m) = A000005(m). - Bernard Schott, Nov 09 2020
|
|
LINKS
|
|
|
MATHEMATICA
|
ok[1]=True; ok[n_]:=And@@(Mod[#, 5]==1&)/@FactorInteger[n][[All, 1]]; Select[Range[2000], ok] (* Vincenzo Librandi, Aug 21 2012 *)
Select[Range[1000], Union[Mod[#, 5]&/@FactorInteger[#][[All, 1]]]=={1}&] (* Harvey P. Dale, Apr 19 2019 *)
|
|
PROG
|
(Haskell)
a004615 n = a004615_list !! (n-1)
a004615_list = filter (all (== 1) . (map (`mod` 5) . a027748_row)) [1..]
(Magma) [n: n in [1..1500] | forall{d: d in PrimeDivisors(n) | d mod 5 eq 1}]; // Vincenzo Librandi, Aug 21 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|