|
|
A276641
|
|
Number of digits in 2^A000668(n)-1.
|
|
2
|
|
|
1, 3, 10, 39, 2466, 39457, 157827, 646456993, 694127911065419642, 186328542329173367306815834, 48844909400338823199277929902126, 51217599719369681875006054625051616350
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The sequence is a subsequence of A227683.
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI) next_a000668(n) = my(expo=nextprime(ceil(log(n+1)/log(2)))); while(!ispseudoprime(2^expo-1), expo=nextprime(expo+1)); 2^expo-1
terms(n) = my(p=3, i=0); while(i < n, print1(#Str(2^p-1), ", "); i++; p=next_a000668(p+1))
terms(7) \\ print initial seven terms
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|