cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A252491 a(n) = (10^(n^2) - 1)/(10^n - 1).

This page as a plain text file.
%I A252491 #28 Oct 28 2020 03:58:08
%S A252491 1,101,1001001,1000100010001,100001000010000100001,
%T A252491 1000001000001000001000001000001,
%U A252491 1000000100000010000001000000100000010000001,100000001000000010000000100000001000000010000000100000001,1000000001000000001000000001000000001000000001000000001000000001
%N A252491 a(n) = (10^(n^2) - 1)/(10^n - 1).
%C A252491 When written in base 10, the terms consist of n digits '1' separated by strings of n-1 digits '0'.
%C A252491 This sequence is relevant for counterexamples to a conjecture in A086766: If p is prime and a(p) is not prime, then A086766(10^(p-1)) = 0.
%C A252491 a(n) is the product of A019328(d) for all d that divide n^2 but not n. - _Robert Israel_, Jan 08 2015
%C A252491 If a(n) is a prime then n is a prime. What is the smallest prime term greater than 101 in this sequence? - _Farideh Firoozbakht_, Jan 08 2015
%C A252491 According to what precedes, a(n) is prime iff A019328(d) is prime, where d is the only divisor of n^2 which is not a divisor of n, i.e., iff n is a prime and n^2 is in A138940. No such term is known, except for n=2. - _M. F. Hasler_, Jan 09 2015
%p A252491 seq((10^(n^2)-1)/(10^n-1), n=1..20); # _Robert Israel_, Jan 08 2015
%o A252491 (PARI) A252491(n)=(10^(n^2)-1)\(10^n-1)
%Y A252491 Cf. A128889 (for 2 instead of 10).
%K A252491 nonn,easy
%O A252491 1,2
%A A252491 _M. F. Hasler_, Jan 08 2015