

A177046


a(n) = 127*(n1)a(n1) with n>1, a(1)=16.


4



16, 111, 143, 238, 270, 365, 397, 492, 524, 619, 651, 746, 778, 873, 905, 1000, 1032, 1127, 1159, 1254, 1286, 1381, 1413, 1508, 1540, 1635, 1667, 1762, 1794, 1889, 1921, 2016, 2048, 2143, 2175, 2270, 2302, 2397, 2429, 2524, 2556, 2651, 2683, 2778, 2810, 2905, 2937, 3032, 3064
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Positive numbers n such that n^2 == 2 (mod 127).


LINKS

Table of n, a(n) for n=1..49.
Index entries for linear recurrences with constant coefficients, signature (1,1,1).


FORMULA

a(n) = (12763*(1)^(n1)+254*(n1))/4.
a(n) = a(n1)+a(n2)a(n3).
G.f. x*(16+95*x+16*x^2) / ( (1+x)*(x1)^2 ).  R. J. Mathar, Aug 24 2011


MATHEMATICA

LinearRecurrence[{1, 1, 1}, {16, 111, 143}, 50] (* Harvey P. Dale, May 30 2014 *)


PROG

(Magma)[(12763*(1)^(n1)+254*(n1))/(4): n in [1..50]]


CROSSREFS

Sequence in context: A120668 A053526 A107908 * A234250 A240786 A213754
Adjacent sequences: A177043 A177044 A177045 * A177047 A177048 A177049


KEYWORD

nonn,easy


AUTHOR

Vincenzo Librandi, Dec 09 2010


STATUS

approved



