OFFSET
1,1
COMMENTS
All the terms of this sequence are odd.
Why? If an integer 10*k+6 = (10*a+6) * (10*b+6), then k = 10*a*b + 6*(a+b) + 3, so k is odd. - Bernard Schott, May 13 2019
The asymptotic density of this sequence is 1/2. - Stefano Spezia, Mar 16 2026
LINKS
Stefano Spezia, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A324297(n) - 6)/10.
Conjecture: lim_{n->oo} a(n)/a(n-1) = 1.
The conjecture is true since a(n) = (A324297(n) - 6)/10 and lim_{n->oo} A324297(n)/A324297(n-1) = 1. - Stefano Spezia, Aug 21 2021
EXAMPLE
145 is a term because 26*56 = 1456 = 145*10 + 6. - Bernard Schott, May 13 2019
MATHEMATICA
a={}; For[n=0, n<=250, n++, For[k=0, k<=n, k++, If[Mod[10*n+6, 10*k+6]==0 && Mod[(10*n+6)/(10*k+6), 10]==6 && 10*n+6>Max[10*a+6], AppendTo[a, n]]]]; a
PROG
(PARI) isok6(n) = (n%10) == 6; \\ A017341
isok(k) = {my(n=10*k+6, d=divisors(n)); fordiv(n, d, if (isok6(d) && isok6(n/d), return(1))); return (0); } \\ Michel Marcus, Apr 14 2019
(Python)
def aupto(lim): return sorted(set(a*b//10 for a in range(6, 10*lim//6+2, 10) for b in range(a, 10*lim//a+2, 10) if a*b//10 <= lim))
print(aupto(249)) # Michael S. Branicky, Aug 21 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Mar 16 2019
STATUS
approved
