A212738 a(n) = (7^p - 6^p - 1)/(1806p) where p is the n-th prime.
1, 43, 81271, 3570505, 7025726485, 314435374639, 639872336584027, 60775577624897675065, 2794429652350970000851, 276858360603194024261113585, 600808083611945729624598396925, 28083738921571587634894783049047, 61728002094732427074308383210511683
Offset: 3
Keywords
Links
- Andrew Howroyd, Table of n, a(n) for n = 3..100
- Peter Vandendriessche and Hojoo Lee, Problems in elementary number theory, Problem A43.
Programs
-
Maple
with(numtheory): for n from 3 to 25 do:p:=ithprime(n):x:=(7^p - 6^p - 1)/(1806*p): printf(`%d, `, x):od:
-
PARI
a(n)={my(p=prime(n)); (7^p - 6^p - 1)/(1806*p)} \\ Andrew Howroyd, Feb 25 2018
Comments