|
|
A370486
|
|
Terms in A116260 that are not of the form 10^d-1.
|
|
1
|
|
|
36363636362, 45454545453, 54545454544, 63636363635, 72727272726, 81818181817, 90909090908, 428571428571428571427, 571428571428571428570, 714285714285714285713, 857142857142857142856, 363636363636363636363636363636362, 454545454545454545454545454545453
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Since 10^d-1 for d>0 are terms of A116260, this sequence only includes terms of A116260 not of this form to highlight these nontrivial terms.
|
|
LINKS
|
|
|
PROG
|
(Python)
from itertools import count, islice
from sympy import sqrt_mod
def A370486_gen(): # generator of terms
for j in count(0):
b = 10**j
a = b*10+1
for k in sorted(sqrt_mod(0, a, all_roots=True)):
if a*(b+4) <= k**2 < a*(a+3):
yield k-2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|