OFFSET
1,1
COMMENTS
The sequence becomes periodic after 491 terms with a period of 10.
The only square in this sequence is 25 and the sequence becomes periodic two terms later.
The maximum value is a(226) = 325880259349618.
LINKS
Sean Lipton, Table of n, a(n) for n = 1..600
FORMULA
a(n+1) = ceiling(sqrt(a(n)*6^i)) such that floor(sqrt((a(n)+1)*6^i-1)) > floor(sqrt(a(n)*6^i-1)) where i is a whole number and minimized.
For n > 481, a(n) = a(n+10).
EXAMPLE
The first 10 a(n) alongside the base 6 representations of a(n) and squares of a(n+1):
n a(n) a(n) b6 a(n+1)^2 b6
-- ---- ------- -----------
1 15 23 23013
2 57 133 133013
3 111 303 303121
4 155 415 415013
5 183 503 503201
6 199 531 5310424
7 508 2204 22044304
8 812 3432 343213
9 171 443 4431013
10 471 2103 2103041
PROG
(PARI) lista(nn) = {my(a = 15); for (n=2, nn, print1(a, ", "); my(i=1); while((sqrtint((a+1)*6^i-1) <= sqrtint(a*6^i-1)), i++); a = ceil(sqrt(a*6^i)); ); } \\ Michel Marcus, Jul 15 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Sean Lipton, Jul 14 2020
STATUS
approved