A248153 Start with a(0)=10, then a(n) = 7 times the n-th digit of the sequence.
10, 7, 0, 49, 0, 28, 63, 0, 14, 56, 42, 21, 0, 7, 28, 35, 42, 28, 14, 14, 7, 0, 49, 14, 56, 21, 35, 28, 14, 14, 56, 7, 28, 7, 28, 49, 0, 28, 63, 7, 28, 35, 42, 14, 7, 21, 35, 14, 56, 7, 28, 7, 28, 35, 42, 49, 14, 56, 49, 14, 56, 28, 63, 0, 14, 56, 42, 21, 49, 14, 56, 21, 35
Offset: 0
Links
- E. Angelini, Brute force density: triples and cubes, SeqFan list, Oct 01 2014
Programs
-
PARI
a(n,s=10,m=7,d=[])={for(i=1,n,print1(s",");d=concat(d,if(s,digits(s)));s=m*d[1];d=vecextract(d,"^1"));s}
-
Python
def aupton(nn): alst, astr = [10], "X10" for n in range(1, nn+1): alst.append(7 * int(astr[n])) astr += str(alst[-1]) return alst print(aupton(72)) # Michael S. Branicky, Oct 07 2021
Comments